.wwfcta-wrap {
	position: fixed;
	right: 18px;
	bottom: max(18px, env(safe-area-inset-bottom, 0px) + 18px);
	z-index: 99999;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 14px;
	font-family: inherit;
}

.wwfcta-panel {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
	opacity: 0;
	transform: translateY(10px) scale(0.98);
	transform-origin: bottom right;
	pointer-events: none;
	transition: opacity 180ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.wwfcta-wrap.is-open .wwfcta-panel {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

.wwfcta-btn,
.wwfcta-main-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	padding: 0;
	cursor: pointer;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}

.wwfcta-item {
	width: 58px;
	height: 58px;
	border-radius: 999px;
	color: #fff;
	box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
	transform: translateY(10px) scale(0.94);
	opacity: 0;
	transition:
		transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
		opacity 180ms ease,
		box-shadow 200ms ease;
	transition-delay: calc((var(--wwfcta-item-index, 1) - 1) * 32ms);
}

.wwfcta-wrap.is-open .wwfcta-item {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.wwfcta-phone {
	background: var(--wwfcta-phone-bg);
}

.wwfcta-instagram {
	background: var(--wwfcta-instagram-bg);
}

.wwfcta-whatsapp {
	background: var(--wwfcta-whatsapp-bg);
}

.wwfcta-form {
	background: var(--wwfcta-form-bg);
}

.wwfcta-main-btn {
	min-width: 68px;
	min-height: 68px;
	border-radius: 999px;
	background: transparent;
}

.wwfcta-wrap--icon-only .wwfcta-main-btn {
	min-width: 68px;
}

.wwfcta-main-btn__surface {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 68px;
	padding: 12px 16px;
	border-radius: 999px;
	background:
		radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 42%),
		var(--wwfcta-main-bg);
	color: var(--wwfcta-main-text);
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.22);
	transition:
		transform 220ms ease,
		box-shadow 220ms ease,
		background-color 220ms ease;
}

.wwfcta-main-btn:hover .wwfcta-main-btn__surface,
.wwfcta-main-btn:focus-visible .wwfcta-main-btn__surface,
.wwfcta-item:hover,
.wwfcta-item:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 22px 42px rgba(15, 23, 42, 0.24);
}

.wwfcta-main-icon,
.wwfcta-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
}

.wwfcta-main-icon svg,
.wwfcta-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.wwfcta-main-icon {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%) scale(0.92);
	opacity: 0;
	transition: transform 200ms ease, opacity 160ms ease;
}

.wwfcta-main-icon--bubble {
	opacity: 1;
	transform: translateY(-50%) scale(1);
}

.wwfcta-main-copy {
	position: relative;
	display: inline-flex;
	min-width: 144px;
	padding-left: 34px;
	overflow: hidden;
}

.wwfcta-wrap--icon-only .wwfcta-main-btn__surface {
	width: 68px;
	min-width: 68px;
	padding: 0;
	justify-content: center;
}

.wwfcta-wrap--icon-only .wwfcta-main-icon {
	left: 50%;
}

.wwfcta-wrap--icon-only .wwfcta-main-icon--bubble {
	transform: translate(-50%, -50%) scale(1);
}

.wwfcta-wrap--icon-only .wwfcta-main-icon--close {
	transform: translate(-50%, -50%) scale(0.92);
}

.wwfcta-wrap--icon-only.is-open .wwfcta-main-icon--bubble {
	transform: translate(-50%, -50%) scale(0.85) rotate(-12deg);
}

.wwfcta-wrap--icon-only.is-open .wwfcta-main-icon--close {
	transform: translate(-50%, -50%) scale(1);
}

.wwfcta-wrap--icon-only .wwfcta-main-copy,
.wwfcta-wrap--icon-only .wwfcta-label {
	display: none;
}

.wwfcta-wrap.wwfcta-wrap--attention-subtle.is-attention .wwfcta-main-btn__surface {
	animation: wwfcta-attention-breathe 2.8s ease-in-out infinite;
}

.wwfcta-wrap.wwfcta-wrap--attention-subtle.is-attention::before {
	content: "";
	position: absolute;
	right: 14px;
	bottom: 12px;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	background: rgba(23, 33, 43, 0.22);
	filter: blur(4px);
	opacity: 0;
	transform: scale(0.8);
	pointer-events: none;
	animation: wwfcta-attention-ring 2.8s ease-out infinite;
}

.wwfcta-wrap.wwfcta-wrap--attention-strong.is-attention .wwfcta-main-btn__surface {
	animation: wwfcta-attention-strong 2.25s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.wwfcta-wrap.wwfcta-wrap--attention-strong.is-attention::before,
.wwfcta-wrap.wwfcta-wrap--attention-strong.is-attention::after {
	content: "";
	position: absolute;
	right: 8px;
	bottom: 6px;
	width: 54px;
	height: 54px;
	border-radius: 999px;
	border: 2px solid rgba(23, 33, 43, 0.18);
	opacity: 0;
	transform: scale(0.82);
	pointer-events: none;
}

.wwfcta-wrap.wwfcta-wrap--attention-strong.is-attention::before {
	animation: wwfcta-attention-ring-strong 2.25s ease-out infinite;
}

.wwfcta-wrap.wwfcta-wrap--attention-strong.is-attention::after {
	animation: wwfcta-attention-ring-strong 2.25s ease-out 0.42s infinite;
}

.wwfcta-main-text {
	display: inline-flex;
	align-items: center;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
	white-space: nowrap;
	transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
}

.wwfcta-main-text--open {
	position: absolute;
	left: 34px;
	opacity: 0;
	transform: translateY(14px);
}

.wwfcta-wrap.is-open .wwfcta-main-icon--bubble {
	opacity: 0;
	transform: translateY(-50%) scale(0.85) rotate(-12deg);
}

.wwfcta-wrap.is-open .wwfcta-main-icon--close {
	opacity: 1;
	transform: translateY(-50%) scale(1);
}

.wwfcta-wrap.is-open .wwfcta-main-text--closed {
	opacity: 0;
	transform: translateY(-14px);
}

.wwfcta-wrap.is-open .wwfcta-main-text--open {
	opacity: 1;
	transform: translateY(0);
}

.wwfcta-label {
	position: absolute;
	right: calc(100% + 12px);
	top: 50%;
	transform: translateY(-50%) translateX(8px);
	background: var(--wwfcta-tooltip-bg);
	color: var(--wwfcta-tooltip-text);
	border-radius: 999px;
	padding: 9px 13px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
	transition: opacity 170ms ease, transform 200ms ease;
}

.wwfcta-item:hover .wwfcta-label,
.wwfcta-item:focus-visible .wwfcta-label {
	opacity: 1;
	transform: translateY(-50%) translateX(0);
}

.wwfcta-modal {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	background: rgba(15, 23, 42, 0.18);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 220ms ease, visibility 220ms ease;
	z-index: 100000;
}

.wwfcta-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.wwfcta-modal-card {
	width: min(100%, 430px);
	background: #fff;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 32px 80px rgba(15, 23, 42, 0.22);
	transform: translateY(18px) scale(0.98);
	transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.wwfcta-modal.is-open .wwfcta-modal-card {
	transform: translateY(0) scale(1);
}

.wwfcta-modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px;
	background: var(--wwfcta-main-bg);
	color: var(--wwfcta-main-text);
}

.wwfcta-modal-title {
	margin: 0;
	font-size: 18px;
	line-height: 1.2;
	font-weight: 700;
}

.wwfcta-modal-close {
	width: 38px;
	height: 38px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.08);
	color: currentColor;
}

.wwfcta-modal-body {
	padding: 20px;
}

.wwfcta-row {
	margin-bottom: 12px;
}

.wwfcta-input,
.wwfcta-textarea {
	width: 100%;
	border: 1px solid #d7dce5;
	border-radius: 16px;
	padding: 14px 16px;
	font-size: 15px;
	line-height: 1.4;
	color: #111827;
	background: #fff;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.wwfcta-textarea {
	min-height: 132px;
	resize: vertical;
}

.wwfcta-input:focus,
.wwfcta-textarea:focus {
	border-color: var(--wwfcta-main-bg);
	outline: none;
	box-shadow: 0 0 0 4px rgba(23, 33, 43, 0.1);
}

.wwfcta-send {
	width: 100%;
	border-radius: 16px;
	padding: 14px 18px;
	background: var(--wwfcta-main-bg);
	color: var(--wwfcta-main-text);
	font-size: 15px;
	font-weight: 700;
	box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
	transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.wwfcta-send:hover,
.wwfcta-send:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
}

.wwfcta-send:disabled {
	opacity: 0.72;
	cursor: wait;
}

.wwfcta-response {
	min-height: 22px;
	margin-top: 12px;
	font-size: 14px;
	line-height: 1.4;
}

.wwfcta-response.is-success {
	color: #15803d;
}

.wwfcta-response.is-error {
	color: #b91c1c;
}

.wwfcta-btn:focus-visible,
.wwfcta-main-btn:focus-visible,
.wwfcta-modal-close:focus-visible,
.wwfcta-send:focus-visible {
	outline: 3px solid rgba(59, 130, 246, 0.35);
	outline-offset: 3px;
}

.wwfcta-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.wwfcta-turnstile {
	min-height: 0;
}

@media (max-width: 782px) {
	.wwfcta-wrap {
		right: 14px;
		bottom: max(14px, env(safe-area-inset-bottom, 0px) + 14px);
	}

	.wwfcta-main-btn__surface {
		min-height: 64px;
		padding: 12px 14px;
	}

	.wwfcta-main-copy {
		min-width: 122px;
	}

	.wwfcta-wrap--icon-only .wwfcta-main-btn__surface {
		width: 64px;
		min-width: 64px;
	}

	.wwfcta-item {
		width: 56px;
		height: 56px;
	}

	.wwfcta-label {
		display: none;
	}

	.wwfcta-modal {
		align-items: flex-end;
		padding: 14px;
	}

	.wwfcta-modal-card {
		width: 100%;
		border-radius: 24px 24px 18px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wwfcta-panel,
	.wwfcta-item,
	.wwfcta-main-btn__surface,
	.wwfcta-main-icon,
	.wwfcta-main-text,
	.wwfcta-label,
	.wwfcta-modal,
	.wwfcta-modal-card,
	.wwfcta-send,
	.wwfcta-input,
	.wwfcta-textarea {
		transition: none !important;
	}

	.wwfcta-wrap.is-attention .wwfcta-main-btn__surface,
	.wwfcta-wrap.is-attention::before,
	.wwfcta-wrap.is-attention::after {
		animation: none !important;
	}
}

@keyframes wwfcta-attention-breathe {
	0%,
	100% {
		transform: translateY(0) scale(1);
		box-shadow: 0 20px 40px rgba(15, 23, 42, 0.22);
	}
	12% {
		transform: translateY(-2px) scale(1.03);
		box-shadow: 0 26px 48px rgba(15, 23, 42, 0.28);
	}
	20% {
		transform: translateY(0) scale(1);
		box-shadow: 0 20px 40px rgba(15, 23, 42, 0.22);
	}
}

@keyframes wwfcta-attention-ring {
	0% {
		opacity: 0;
		transform: scale(0.8);
	}
	10% {
		opacity: 0.22;
	}
	38% {
		opacity: 0;
		transform: scale(2.05);
	}
	100% {
		opacity: 0;
		transform: scale(2.05);
	}
}

@keyframes wwfcta-attention-strong {
	0%,
	100% {
		transform: translateY(0) scale(1);
		box-shadow: 0 20px 40px rgba(15, 23, 42, 0.22);
	}
	10% {
		transform: translateY(-3px) scale(1.045);
		box-shadow: 0 30px 52px rgba(15, 23, 42, 0.3);
	}
	16% {
		transform: translateY(0) scale(1);
	}
	24% {
		transform: translateY(-2px) scale(1.025);
	}
	30% {
		transform: translateY(0) scale(1);
	}
}

@keyframes wwfcta-attention-ring-strong {
	0% {
		opacity: 0;
		transform: scale(0.82);
	}
	14% {
		opacity: 0.32;
	}
	42% {
		opacity: 0;
		transform: scale(1.42);
	}
	100% {
		opacity: 0;
		transform: scale(1.42);
	}
}
