/*
 * Canonical quick-contact component.
 *
 * Source of truth: the latest floating-contact history, Figma 699:880 (PC)
 * and 650:104 (mobile).  The markup, artwork, geometry and viewport docking
 * remain shared across public routes.
 */
/* BEGIN FIGMA TYPOGRAPHY */
@media(min-width:768px){
/* 418:983 */
.quick-contact-item:not(.quick-contact-chat){font-size:15px;font-weight:600;line-height:1.3;letter-spacing:0.01em}
/* 418:980 */
.quick-contact-chat{font-size:15px;font-weight:600;line-height:1.3;letter-spacing:0.01em}
}
@media(max-width:767px), (pointer: coarse) and (min-width: 768px) and (max-width: 1199px){
/* 445:878 */
.quick-contact-item:not(.quick-contact-chat){font-size:12px;font-weight:600;line-height:1.3;letter-spacing:0.01em}
/* 445:875 */
.quick-contact-chat{font-size:11px;font-weight:600;line-height:1.3;letter-spacing:0.01em}
}
/* END FIGMA TYPOGRAPHY */

.quick-contact--latest {
	--quick-contact-root-width: 206.936px;
	--quick-contact-root-height: 310.645px;
	--quick-contact-panel-width: 188.08px;
	--quick-contact-panel-height: 310.645px;
	--quick-contact-list-width: 155.831px;
	--quick-contact-row-height: 50.64px;
	--quick-contact-row-gap: 9px;
	--quick-contact-art-width: 100%;
	--quick-contact-art-height: 100%;
	--quick-contact-art-top: 0;
	position: fixed;
	right: max(40px, env(safe-area-inset-right, 0px));
	bottom: max(40px, env(safe-area-inset-bottom, 0px));
	z-index: 60;
	width: var(--quick-contact-root-width);
	height: var(--quick-contact-root-height);
	display: block;
	pointer-events: none;
	isolation: isolate;
	overflow: visible;
}

.quick-contact--latest .quick-contact-label {
	display: block;
	position: absolute;
	inset: 24.016px 0 auto;
	z-index: 3;
	width: 100%;
	height: 17.637px;
	color: var(--iel-color-black);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.1748;
	text-align: center;
	pointer-events: none;
}

.quick-contact--latest .quick-contact-panel {
	position: absolute;
	inset: 0 9.428px 0 auto;
	z-index: 0;
	width: var(--quick-contact-panel-width);
	height: var(--quick-contact-panel-height);
	padding: 50.442px 16.124px 28.28px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	border: 0;
	border-radius: 20px;
	background: transparent;
	isolation: isolate;
	overflow: visible;
}

.quick-contact--latest .quick-contact-panel::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	border: 1px solid rgb(255 255 255 / 70%);
	border-radius: inherit;
	background: rgb(255 255 255 / 50%);
	-webkit-backdrop-filter: blur(225px);
	backdrop-filter: blur(225px);
	transform: translateZ(0);
	pointer-events: none;
}

.quick-contact--latest .quick-contact-panel > * {
	position: relative;
	z-index: 1;
}

/* The list owns the vertical rhythm; each option owns one complete hit area. */
.quick-contact--latest .quick-contact-list {
	width: var(--quick-contact-list-width);
	margin: 0;
	padding: 0;
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: stretch;
	gap: var(--quick-contact-row-gap);
	list-style: none;
}

.quick-contact--latest .quick-contact-option {
	position: relative;
	flex: 0 0 var(--quick-contact-row-height);
	width: 100%;
	height: var(--quick-contact-row-height);
	min-height: 44px;
}

.quick-contact--latest .quick-contact-item {
	position: relative;
	flex: none;
	width: 100%;
	height: 100%;
	min-height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border-radius: 999px;
	isolation: isolate;
	color: var(--iel-color-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: .01em;
	white-space: nowrap;
	pointer-events: auto;
}

.quick-contact--latest .quick-contact-text {
	position: relative;
	display: inline-block;
	z-index: 2;
}

.quick-contact--latest .quick-contact-chat-icons {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	overflow: visible;
	pointer-events: none;
}

.quick-contact--latest .quick-chat-badge {
	position: absolute;
	top: 50%;
	right: 12px;
	display: block;
	width: 28.863px;
	height: 27.872px;
	overflow: visible;
	pointer-events: none;
	transform: translateY(-50%);
}

.quick-contact--latest .quick-chat-badge-mobile {
	display: none;
}

.quick-contact--latest .quick-chat-badge img {
	max-width: none;
	max-height: none;
}

.quick-contact--latest .quick-contact-item.quick-contact-light {
	background: var(--iel-color-brand);
	color: var(--iel-color-white);
}

.quick-contact--latest .quick-contact-item.quick-contact-chat {
	padding-right: 28px;
	color: var(--iel-color-chat);
}

.quick-contact--latest .quick-contact-art {
	position: absolute;
	inset: var(--quick-contact-art-top) auto auto 0;
	z-index: 0;
	display: block;
	width: var(--quick-contact-art-width);
	height: var(--quick-contact-art-height);
	overflow: hidden;
	border-radius: inherit;
	pointer-events: none;
	transition: filter var(--iel-motion-fast) var(--iel-motion-ease);
}

.quick-contact--latest .quick-contact-art .quick-contact-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: fill;
}

.quick-contact--latest .quick-chat-icon {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: block;
	width: 28.863px;
	height: 27.872px;
	object-fit: contain;
	pointer-events: none;
}

.quick-contact--latest .quick-chat-ch {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 2;
	display: block;
	width: 15.945px;
	height: 9.861px;
	object-fit: contain;
	pointer-events: none;
	transform: translate(-50%, -50%);
}

.quick-contact--latest .quick-chat-icon-mobile,
.quick-contact--latest .quick-chat-ch-mobile {
	display: none;
}

@media (max-width: 767px), (pointer: coarse) and (min-width: 768px) and (max-width: 1199px) {
	.quick-contact--latest {
		--quick-contact-root-width: 135.905px;
		--quick-contact-root-height: 204.016px;
		--quick-contact-panel-width: 123.521px;
		--quick-contact-panel-height: 204.016px;
		--quick-contact-list-width: 102.342px;
		--quick-contact-row-height: 44px;
		--quick-contact-row-gap: 0px;
		--quick-contact-art-width: 102.342px;
		--quick-contact-art-height: 33.258px;
		--quick-contact-art-top: 5.371px;
		left: auto;
		right: max(10px, env(safe-area-inset-right, 0px));
		top: auto;
		bottom: max(16px, env(safe-area-inset-bottom, 0px));
		width: 135.905px;
		height: var(--quick-contact-root-height);
		padding: 0;
		display: block;
		overflow: visible;
	}

	.quick-contact--latest .quick-contact-label {
		inset: 15.773px auto auto 0;
		width: var(--quick-contact-root-width);
		height: 10px;
		margin-bottom: 6.43px;
		color: var(--iel-color-black);
		font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
		font-size: 10px;
		font-style: normal;
		font-weight: 600;
		line-height: 10px;
		letter-spacing: normal;
	}

	.quick-contact--latest .quick-contact-panel {
		inset: 0 auto auto 6.194px;
		width: var(--quick-contact-panel-width);
		height: var(--quick-contact-panel-height);
		padding: 25.832px 0 0;
		align-items: center;
		gap: 0;
		border: 0;
		border-radius: 20px;
		background: transparent;
	}

	.quick-contact--latest .quick-contact-panel::before {
		border-color: #fff;
		background: rgb(255 255 255 / 50%);
	}

	.quick-contact--latest .quick-contact-option {
		flex: 0 0 var(--quick-contact-row-height);
		width: 100%;
		height: var(--quick-contact-row-height);
		min-height: 44px;
	}

	.quick-contact--latest .quick-contact-item {
		flex: none;
		width: 100%;
		height: var(--quick-contact-row-height);
		min-height: 44px;
		margin: 0;
		font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
		font-size: 10px;
		font-style: normal;
		font-weight: 600;
		line-height: 13px;
		letter-spacing: 0.1px;
		color: var(--iel-color-ink);
	}

	.quick-contact--latest .quick-contact-item.quick-contact-chat {
		font-size: 10px;
	}

	.quick-contact--latest .quick-contact-item.quick-contact-light {
		background: transparent;
		color: #fff;
		fill: #f00;
	}

	.quick-contact--latest .quick-contact-item.quick-contact-chat {
		padding-right: 0;
	}

	.quick-contact--latest .quick-contact-chat > .quick-contact-text {
		position: absolute;
		left: 13.746px;
		top: 16.567px;
		width: 54.507px;
		height: 13.627px;
		padding: 0;
		text-align: center;
	}

	.quick-contact--latest .quick-contact-art {
		inset: var(--quick-contact-art-top) auto auto 0;
		width: var(--quick-contact-art-width);
		height: var(--quick-contact-art-height);
		-webkit-backdrop-filter: blur(50px);
		backdrop-filter: blur(50px);
	}

	.quick-contact--latest .quick-chat-icon,
	.quick-contact--latest .quick-chat-ch {
		display: none;
	}

	.quick-contact--latest .quick-chat-badge-desktop {
		display: none;
	}

	.quick-contact--latest .quick-chat-badge-mobile {
		top: 50%;
		right: auto;
		left: 71.55px;
		width: 18.956px;
		height: 18.305px;
		display: block;
	}

	.quick-contact--latest .quick-chat-icon-mobile {
		position: absolute;
		inset: 0;
		z-index: 1;
		display: block;
		width: 18.956px;
		height: 18.305px;
		object-fit: contain;
		pointer-events: none;
	}

	.quick-contact--latest .quick-chat-ch-mobile {
		position: absolute;
		left: 50%;
		top: 50%;
		z-index: 1;
		display: block;
		width: 10.471px;
		height: 6.476px;
		object-fit: contain;
		pointer-events: none;
		transform: translate(-50%, -50%);
	}

	.quick-contact--latest .quick-contact-art .quick-contact-bg {
		object-fit: fill;
	}

	.quick-contact--latest ~ .site-footer,
	.site-footer {
		padding-bottom: max(210px, calc(210px + env(safe-area-inset-bottom, 0px)));
	}

}

@media (hover: hover) and (pointer: fine) {
	.quick-contact--latest .quick-contact-item.iel-hover-surface:hover {
		filter: none;
		transform: none;
		box-shadow: 2px 4px 16px rgb(0 0 0 / 16%);
	}
}

@media (max-width: 767px) and (hover: hover) and (pointer: fine) {
	.quick-contact--latest .quick-contact-item.iel-hover-surface:hover {
		box-shadow: none;
	}

	.quick-contact--latest .quick-contact-item.iel-hover-surface:hover .quick-contact-art {
		filter: brightness(.92);
	}
}

@media (prefers-reduced-motion: reduce) {
	.quick-contact--latest .quick-contact-art {
		transition: none;
	}
}

/* One less row and gap while psychology intake is paused. */
.quick-contact--latest.quick-contact--compact {
	--quick-contact-root-height: 251.005px;
	--quick-contact-panel-height: 251.005px;
}

@media (max-width: 767px), (pointer: coarse) and (min-width: 768px) and (max-width: 1199px) {
	.quick-contact--latest.quick-contact--compact {
		--quick-contact-root-height: 160.016px;
		--quick-contact-panel-height: 160.016px;
	}
}
