/**
 * Hexfy Contacto — WhatsApp + formulario.
 */

.hexfy-contact {
	--hexfy-contact-accent: var(--hexfy-blue, #2440d9);
	--hexfy-contact-deep: var(--hexfy-deep, #0b1f3f);
	--hexfy-contact-muted: var(--hexfy-muted, #5a6478);
	--hexfy-contact-bg: #ffffff;
	--hexfy-contact-field: #eef2ff;
	--hexfy-contact-max: 1280px;
	position: relative;
	padding: 5.5rem 1.25rem;
	overflow: hidden;
	background: var(--hexfy-contact-bg);
	color: var(--hexfy-contact-deep);
	font-family: "Hanken Grotesk", "Manrope", system-ui, sans-serif;
}

@media (min-width: 992px) {
	.hexfy-contact {
		padding: 8rem 4rem;
	}
}

.hexfy-contact__glow {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 120%;
	aspect-ratio: 1;
	border-radius: 999px;
	background: color-mix(in srgb, var(--hexfy-contact-accent) 7%, transparent);
	filter: blur(150px);
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.hexfy-contact__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	max-width: var(--hexfy-contact-max);
	margin: 0 auto;
}

@media (min-width: 992px) {
	.hexfy-contact__inner {
		grid-template-columns: 5fr 7fr;
		gap: 4.5rem;
		align-items: center;
	}
}

.hexfy-contact__intro {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hexfy-contact__title {
	margin: 0 0 1.5rem;
	font-size: clamp(2.25rem, 5vw, 3.75rem);
	font-weight: 300;
	font-style: italic;
	letter-spacing: -0.025em;
	line-height: 1.1;
	color: var(--hexfy-contact-deep);
}

.hexfy-contact__desc {
	margin: 0 0 2.5rem;
	max-width: 26rem;
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--hexfy-contact-muted);
}

.hexfy-contact__wa {
	display: inline-flex;
	align-items: center;
	gap: 1.25rem;
	width: fit-content;
	padding: 0.4rem 2rem 0.4rem 0.4rem;
	border: 1px solid rgba(196, 197, 216, 0.4);
	border-radius: 999px;
	background: #fff;
	text-decoration: none;
	box-shadow: 0 1px 3px rgba(11, 31, 63, 0.05);
	transition: border-color 0.25s ease;
}

.hexfy-contact__wa:hover {
	border-color: var(--hexfy-contact-accent);
}

.hexfy-contact__wa-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	border-radius: 999px;
	background: #25d366;
	color: #fff;
	box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
	flex-shrink: 0;
}

.hexfy-contact__wa-text {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.hexfy-contact__wa-title {
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--hexfy-contact-deep);
	transition: color 0.25s ease;
}

.hexfy-contact__wa:hover .hexfy-contact__wa-title {
	color: var(--hexfy-contact-accent);
}

.hexfy-contact__wa-sub {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hexfy-contact-muted);
}

.hexfy-contact__form-wrap {
	padding: 2.25rem 1.75rem;
	border: 1px solid rgba(196, 197, 216, 0.4);
	border-radius: 3rem;
	background: #fff;
	box-shadow:
		0 25px 50px -12px rgba(11, 31, 63, 0.12),
		0 8px 20px rgba(11, 31, 63, 0.05);
}

@media (min-width: 992px) {
	.hexfy-contact__form-wrap {
		padding: 4rem;
	}
}

.hexfy-contact__success {
	margin: 0 0 1.5rem;
	padding: 0.9rem 1.1rem;
	border-radius: 0.85rem;
	background: color-mix(in srgb, #25d366 12%, transparent);
	color: var(--hexfy-contact-deep);
	font-weight: 600;
}

.hexfy-contact__form {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
}

.hexfy-contact__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.75rem;
}

@media (min-width: 768px) {
	.hexfy-contact__row {
		grid-template-columns: 1fr 1fr;
		gap: 1.75rem;
	}
}

.hexfy-contact__field {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.hexfy-contact__label {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hexfy-contact-muted);
}

.hexfy-contact__input {
	width: 100%;
	padding: 1rem 1.35rem;
	border: 1px solid rgba(196, 197, 216, 0.4);
	border-radius: 0.75rem;
	background: var(--hexfy-contact-field);
	color: var(--hexfy-contact-deep);
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hexfy-contact__input::placeholder {
	color: color-mix(in srgb, var(--hexfy-contact-muted) 70%, transparent);
}

.hexfy-contact__input:focus {
	border-color: var(--hexfy-contact-accent);
	box-shadow: 0 0 0 1px var(--hexfy-contact-accent);
}

.hexfy-contact__textarea {
	resize: none;
	min-height: 7rem;
}

.hexfy-contact__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 1.35rem 1.5rem;
	border: none;
	border-radius: 1rem;
	background: var(--hexfy-contact-accent);
	color: #fff;
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	transition:
		transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
		box-shadow 0.25s ease;
}

.hexfy-contact__submit:hover {
	box-shadow: 0 18px 40px color-mix(in srgb, var(--hexfy-contact-accent) 30%, transparent);
}

.hexfy-contact__submit:active {
	transform: scale(0.97);
}

@media (prefers-reduced-motion: reduce) {
	.hexfy-contact__submit {
		transition: none;
	}

	.hexfy-contact__submit:active {
		transform: none;
	}
}
