.emy-contact-section {
	position: relative;
	padding: 120px 0;
	background:
		radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.08), transparent 30%),
		radial-gradient(circle at 80% 70%, rgba(34, 211, 238, 0.06), transparent 30%),
		linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
	overflow: hidden;
}

[data-theme="dark"] .emy-contact-section {
	background:
		radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.12), transparent 30%),
		radial-gradient(circle at 80% 70%, rgba(34, 211, 238, 0.10), transparent 30%),
		linear-gradient(180deg, #07111f 0%, #111827 100%);
}

.emy-contact-container {
	position: relative;
	z-index: 2;
}

.emy-contact-header {
	max-width: 850px;
	margin: 0 auto 70px;
}

.emy-contact-badge {
	display: inline-block;
	margin-bottom: 18px;
	color: #0284c7;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 3px;
	text-transform: uppercase;
}

[data-theme="dark"] .emy-contact-badge {
	color: #22d3ee;
}

.emy-contact-title {
	margin: 0;
	color: #0f172a;
	font-size: clamp(2.2rem, 4vw, 4.5rem);
	font-weight: 900;
	letter-spacing: -0.03em;
}

[data-theme="dark"] .emy-contact-title {
	color: #ffffff;
}

.emy-contact-title span {
	background: var(--emy-gradient-brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

.emy-contact-subtitle {
	max-width: 720px;
	margin: 22px auto 0;
	color: rgba(15, 23, 42, 0.72);
	font-size: 1.08rem;
	line-height: 1.8;
}

[data-theme="dark"] .emy-contact-subtitle {
	color: rgba(226, 232, 240, 0.74);
}

.emy-contact-divider {
	width: 90px;
	height: 4px;
	margin: 28px auto 0;
	border-radius: 999px;
	background: var(--emy-gradient-line);
}

.emy-contact-card {
	height: 100%;
	padding: 36px;
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(148, 163, 184, 0.14);
	backdrop-filter: blur(16px);
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

[data-theme="dark"] .emy-contact-card {
	background: rgba(30, 41, 59, 0.58);
	box-shadow: none;
}

.emy-contact-card-title {
	margin: 0 0 28px;
	color: #0f172a;
	font-size: 1.55rem;
	font-weight: 850;
}

[data-theme="dark"] .emy-contact-card-title {
	color: #ffffff;
}

.emy-contact-label {
	display: block;
	margin-bottom: 8px;
	color: rgba(15, 23, 42, 0.78);
	font-size: 0.92rem;
	font-weight: 700;
}

[data-theme="dark"] .emy-contact-label {
	color: rgba(226, 232, 240, 0.78);
}

.emy-contact-control {
	width: 100%;
	padding: 15px 16px;
	border-radius: 14px;
	border: 1px solid rgba(148, 163, 184, 0.22);
	background: rgba(255, 255, 255, 0.88);
	color: #0f172a;
	outline: none;
	transition: all 0.25s ease;
}

[data-theme="dark"] .emy-contact-control {
	background: rgba(15, 23, 42, 0.70);
	color: #ffffff;
}

.emy-contact-control::placeholder {
	color: rgba(100, 116, 139, 0.7);
}

[data-theme="dark"] .emy-contact-control::placeholder {
	color: rgba(148, 163, 184, 0.7);
}

.emy-contact-control:focus {
	border-color: rgba(34, 211, 238, 0.68);
	box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.10);
	background: #ffffff;
}

[data-theme="dark"] .emy-contact-control:focus {
	background: rgba(15, 23, 42, 0.92);
}

.emy-contact-textarea {
	resize: none;
	min-height: 150px;
}

.emy-contact-submit {
	width: 100%;
	margin-top: 26px;
	padding: 16px 24px;
	border: 0;
	border-radius: 14px;
	color: #ffffff;
	font-weight: 850;
	background: var(--emy-gradient-cta);
	box-shadow: 0 16px 34px var(--emy-glow-blue);
	transition: all 0.25s ease;
}

.emy-contact-submit:hover {
	transform: translateY(-3px);
	box-shadow: 0 20px 44px var(--emy-glow-cyan);
}

.emy-contact-submit i {
	margin-right: 8px;
}

.emy-contact-info-wrapper {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.emy-contact-info-item {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 22px;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(148, 163, 184, 0.12);
	transition: all 0.25s ease;
}

[data-theme="dark"] .emy-contact-info-item {
	background: rgba(30, 41, 59, 0.42);
}

.emy-contact-info-item:hover {
	border-color: rgba(34, 211, 238, 0.28);
	background: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .emy-contact-info-item:hover {
	background: rgba(30, 41, 59, 0.62);
}

.emy-contact-info-icon {
	width: 54px;
	height: 54px;
	flex: 0 0 54px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 18px;
	color: #0284c7;
	font-size: 1.45rem;
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(34, 211, 238, 0.10));
	border: 1px solid rgba(34, 211, 238, 0.18);
}

[data-theme="dark"] .emy-contact-info-icon {
	color: #22d3ee;
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(34, 211, 238, 0.16));
}

.emy-contact-info-item h4 {
	margin: 0;
	color: #0f172a;
	font-size: 1.08rem;
	font-weight: 850;
}

[data-theme="dark"] .emy-contact-info-item h4 {
	color: #ffffff;
}

.emy-contact-info-item p {
	margin: 6px 0 0;
	color: rgba(15, 23, 42, 0.72);
	font-size: 0.95rem;
	line-height: 1.6;
}

[data-theme="dark"] .emy-contact-info-item p {
	color: rgba(226, 232, 240, 0.72);
}

.emy-contact-map {
	height: 270px;
	margin-top: 10px;
	overflow: hidden;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(148, 163, 184, 0.14);
}

[data-theme="dark"] .emy-contact-map {
	background: rgba(30, 41, 59, 0.42);
}

.emy-contact-map iframe {
	filter: grayscale(0.12) saturate(1.05) contrast(1.02);
}

[data-theme="dark"] .emy-contact-map iframe {
	filter: invert(0.88) hue-rotate(165deg) saturate(1.65) contrast(1.08) brightness(0.92);
}

@media (max-width: 991px) {
	.emy-contact-section {
		padding: 95px 0;
	}

	.emy-contact-header {
		margin-bottom: 52px;
	}
}

@media (max-width: 575px) {
	.emy-contact-card {
		padding: 28px 22px;
	}

	.emy-contact-info-item {
		padding: 18px;
	}
}

/* ========= CONTACT CONVERSION CINEMATIC ========= */
.emy-contact-section::after {
	content: '';
	position: absolute;
	inset: -10%;
	background:
		radial-gradient(circle at center, rgba(255,255,255,0.14), transparent 60%);
	opacity: 0;
	transform: scale(1.15);
	transition:
		opacity 1.8s ease,
		transform 2.8s ease;
	pointer-events: none;
}

.emy-contact-section.emy-section-visible::after {
	opacity: 1;
	transform: scale(1);
}

/* Header */
.emy-contact-header .emy-reveal-item {
	opacity: 0;
	transform: translateY(30px);
	filter: blur(8px);
}

/* Form principal */
.emy-contact-card .emy-reveal-item {
	opacity: 0;
	transform: translateY(38px);
	filter: blur(8px);
}

/* Info lateral */
.emy-contact-info-item.emy-reveal-item,
.emy-contact-map.emy-reveal-item {
	opacity: 0;
	transform: translateX(28px) translateY(24px);
	filter: blur(8px);
}

/* Activación */
.emy-reveal-group.emy-reveal-active .emy-contact-header .emy-reveal-item,
.emy-reveal-group.emy-reveal-active .emy-contact-card .emy-reveal-item,
.emy-reveal-group.emy-reveal-active .emy-contact-info-item.emy-reveal-item,
.emy-reveal-group.emy-reveal-active .emy-contact-map.emy-reveal-item,
.emy-reveal-group.emy-reveal-active .emy-reveal-item {
	opacity: 1;
	transform: translateX(0) translateY(0) scale(1);
	filter: blur(0);
}

/* Form panel premium */
.emy-contact-card {
	transition:
		transform 0.45s ease,
		box-shadow 0.45s ease,
		border-color 0.45s ease;
}

.emy-contact-card:hover {
	transform: translateY(-8px);
	border-color: rgba(34, 211, 238, 0.28);
	box-shadow: 0 28px 60px rgba(37, 99, 235, 0.12);
}

/* Inputs premium */
.emy-contact-control {
	transition:
		transform 0.25s ease,
		border-color 0.25s ease,
		box-shadow 0.25s ease;
}

.emy-contact-control:focus {
	transform: translateY(-2px);
}

/* Info cards */
.emy-contact-info-item:hover {
	transform: translateX(6px);
}

/* Map */
.emy-contact-map {
	transition:
		transform 0.4s ease,
		box-shadow 0.4s ease;
}

.emy-contact-map:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 45px rgba(37, 99, 235, 0.10);
}

/* Performance */
.emy-contact-section .emy-reveal-group {
	will-change: transform, opacity;
}

html:not([data-theme="dark"]) .emy-reveal-group.emy-reveal-active .emy-contact-card:hover {
	transform: translateY(-8px) scale(1.01);
	border-color: rgba(37, 99, 235, 0.58);
	background: rgba(255, 255, 255, 0.94);
	box-shadow:
		0 28px 64px rgba(37, 99, 235, 0.16),
		0 0 0 4px rgba(6, 182, 212, 0.16);
}

html:not([data-theme="dark"]) .emy-reveal-group.emy-reveal-active .emy-contact-info-item:hover {
	transform: translateX(6px) scale(1.01);
	border-color: rgba(37, 99, 235, 0.48);
	background: rgba(255, 255, 255, 0.94);
	box-shadow:
		0 18px 38px rgba(37, 99, 235, 0.14),
		0 0 0 3px rgba(6, 182, 212, 0.14);
}

html:not([data-theme="dark"]) .emy-contact-info-item:hover .emy-contact-info-icon {
	color: #ffffff;
	background: var(--emy-gradient-dropdown-active);
	box-shadow:
		0 14px 28px var(--emy-glow-blue),
		0 0 0 3px rgba(6, 182, 212, 0.10);
}

html:not([data-theme="dark"]) .emy-reveal-group.emy-reveal-active .emy-contact-map:hover {
	transform: translateY(-6px) scale(1.01);
	border-color: rgba(37, 99, 235, 0.48);
	box-shadow:
		0 22px 48px rgba(37, 99, 235, 0.14),
		0 0 0 3px rgba(6, 182, 212, 0.12);
}

html:not([data-theme="dark"]) .emy-contact-control:focus {
	border-color: rgba(37, 99, 235, 0.52);
	box-shadow:
		0 0 0 4px rgba(6, 182, 212, 0.14),
		0 8px 20px rgba(37, 99, 235, 0.08);
	background: rgba(255, 255, 255, 0.98);
}

.emy-contact-form .mb-4,
.emy-contact-form .col-md-6,
.emy-contact-form .mt-4 {
	position: relative;
	transition:
		transform 0.28s ease,
		filter 0.28s ease;
}

.emy-contact-form .mb-4:hover,
.emy-contact-form .col-md-6:hover,
.emy-contact-form .mt-4:hover {
	transform: translateY(-4px);
}

.emy-contact-control:hover {
	border-color: rgba(37, 99, 235, 0.42);
	background: rgba(255, 255, 255, 0.96);
	box-shadow:
		0 12px 26px rgba(37, 99, 235, 0.10),
		0 0 0 3px rgba(6, 182, 212, 0.08);
}

[data-theme="dark"] .emy-contact-control:hover {
	border-color: rgba(34, 211, 238, 0.42);
	background: rgba(15, 23, 42, 0.86);
	box-shadow:
		0 12px 26px rgba(0, 0, 0, 0.22),
		0 0 0 3px rgba(34, 211, 238, 0.08);
}

.emy-contact-label {
	transition:
		color 0.25s ease,
		transform 0.25s ease,
		letter-spacing 0.25s ease;
}

.emy-contact-form .mb-4:hover .emy-contact-label,
.emy-contact-form .col-md-6:hover .emy-contact-label,
.emy-contact-form .mt-4:hover .emy-contact-label {
	color: #2563eb;
	transform: translateX(4px);
	letter-spacing: 0.02em;
}

[data-theme="dark"] .emy-contact-form .mb-4:hover .emy-contact-label,
[data-theme="dark"] .emy-contact-form .col-md-6:hover .emy-contact-label,
[data-theme="dark"] .emy-contact-form .mt-4:hover .emy-contact-label {
	color: #22d3ee;
}

.emy-contact-submit {
	position: relative;
	overflow: hidden;
}

.emy-contact-submit::before {
	content: '';
	position: absolute;
	top: 0;
	left: -120%;
	width: 80%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.34),
		transparent
	);
	transform: skewX(-18deg);
	transition: left 0.55s ease;
}

.emy-contact-submit:hover::before {
	left: 130%;
}

.emy-contact-submit:hover i {
	transform: translateX(4px) rotate(-8deg);
}

.emy-contact-submit i {
	transition: transform 0.25s ease;
}

.emy-contact-input-wrap {
	position: relative;
}

.emy-contact-input-icon {
	position: absolute;
	top: 50%;
	left: 16px;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(37, 99, 235, 0.68);
	font-size: 1rem;
	z-index: 3;
	pointer-events: none;
	transition:
		color 0.25s ease,
		transform 0.25s ease;
}

[data-theme="dark"] .emy-contact-input-icon {
	color: rgba(34, 211, 238, 0.78);
}

.emy-contact-control {
	padding-left: 48px;
}

.emy-contact-textarea-wrap .emy-contact-input-icon {
	top: 22px;
	transform: none;
}

.emy-contact-textarea {
	padding-top: 18px;
}

.emy-contact-input-wrap:hover .emy-contact-input-icon,
.emy-contact-control:focus + .emy-contact-input-icon {
	color: #2563eb;
	transform: translateY(-50%) scale(1.08);
}

[data-theme="dark"] .emy-contact-input-wrap:hover .emy-contact-input-icon {
	color: #22d3ee;
}

.emy-contact-textarea-wrap:hover .emy-contact-input-icon {
	transform: scale(1.08);
}

/* ========= SWEETALERT2 CONTACT PREMIUM ========= */
.emy-contact-swal-container {
	backdrop-filter: blur(8px);
}

.emy-contact-swal-popup {
	border: 1px solid rgba(34, 211, 238, 0.18) !important;
	border-radius: 30px !important;
	padding: 30px !important;
	background:
		radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 36%),
		radial-gradient(circle at bottom right, rgba(34, 211, 238, 0.16), transparent 38%),
		#ffffff !important;
	box-shadow: 0 30px 90px rgba(2, 6, 23, 0.36) !important;
	overflow: hidden;
	position: relative;
}

[data-theme="dark"] .emy-contact-swal-popup {
	background:
		radial-gradient(circle at top left, rgba(37, 99, 235, 0.26), transparent 36%),
		radial-gradient(circle at bottom right, rgba(34, 211, 238, 0.18), transparent 38%),
		#0f172a !important;
	border-color: rgba(34, 211, 238, 0.22) !important;
}

.emy-contact-swal-popup::before {
	content: '';
	position: absolute;
	top: -38%;
	left: -95%;
	width: 62%;
	height: 210%;
	background: linear-gradient(
		118deg,
		transparent 0%,
		rgba(255, 255, 255, 0.00) 18%,
		rgba(255, 255, 255, 0.55) 38%,
		rgba(255, 255, 255, 0.92) 50%,
		rgba(255, 255, 255, 0.58) 62%,
		rgba(255, 255, 255, 0.00) 82%,
		transparent 100%
	);
	mix-blend-mode: screen;
	transform: rotate(16deg);
	animation: emyContactSwalShine 3s cubic-bezier(.22, .61, .36, 1) infinite;
	pointer-events: none;
	z-index: 1;
	filter: blur(1px);
}

[data-theme="dark"] .emy-contact-swal-popup::before {
	background: linear-gradient(
		118deg,
		transparent 0%,
		rgba(34, 211, 238, 0.00) 18%,
		rgba(34, 211, 238, 0.22) 36%,
		rgba(255, 255, 255, 0.30) 50%,
		rgba(34, 211, 238, 0.18) 64%,
		rgba(34, 211, 238, 0.00) 82%,
		transparent 100%
	);
}

.emy-contact-swal {
	position: relative;
	z-index: 2;
	text-align: center;
	color: #0f172a !important;
}

[data-theme="dark"] .emy-contact-swal {
	color: #f8fafc !important;
}

.emy-contact-swal-icon {
	width: 76px;
	height: 76px;
	margin: 0 auto 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 26px;
	background: var(--emy-gradient-dropdown-active);
	color: #ffffff;
	font-size: 2.25rem;
	box-shadow: 0 18px 48px var(--emy-glow-blue);
}

.emy-contact-swal h2 {
	margin: 0 0 14px;
	color: #0f172a !important;
	font-size: 1.65rem;
	font-weight: 900;
	letter-spacing: -0.035em;
}

[data-theme="dark"] .emy-contact-swal h2 {
	color: #ffffff !important;
}

.emy-contact-swal p {
	max-width: 430px;
	margin: 0 auto;
	color: #475569 !important;
	font-size: 0.98rem;
	line-height: 1.65;
}

[data-theme="dark"] .emy-contact-swal p {
	color: #cbd5e1 !important;
}

.emy-contact-swal p strong {
	color: #2563eb !important;
	font-weight: 900;
}

[data-theme="dark"] .emy-contact-swal p strong {
	color: #22d3ee !important;
}

.emy-contact-swal-confirm,
.emy-contact-swal-cancel {
	border: none !important;
	border-radius: 999px !important;
	padding: 13px 24px !important;
	font-weight: 900 !important;
	font-size: 0.95rem !important;
	transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.emy-contact-swal-confirm {
	background: var(--emy-gradient-cta) !important;
	color: #ffffff !important;
	box-shadow: 0 16px 36px var(--emy-glow-blue) !important;
}

.emy-contact-swal-cancel {
	background: rgba(100, 116, 139, 0.14) !important;
	color: #0f172a !important;
}

[data-theme="dark"] .emy-contact-swal-cancel {
	background: rgba(148, 163, 184, 0.14) !important;
	color: #f8fafc !important;
}

.emy-contact-swal-confirm:hover,
.emy-contact-swal-cancel:hover {
	transform: translateY(-2px);
	filter: brightness(1.05);
}

.emy-contact-swal-popup .swal2-actions {
	position: relative;
	z-index: 2;
	gap: 12px;
	margin-top: 26px !important;
}

.emy-contact-swal-popup .swal2-html-container {
	margin: 0 !important;
	overflow: visible !important;
}

@keyframes emyContactSwalShine {
	0% {
		left: -95%;
		opacity: 0;
	}

	12% {
		opacity: 1;
	}

	45% {
		left: 138%;
		opacity: 1;
	}

	100% {
		left: 138%;
		opacity: 0;
	}
}