/**
 * Expert Matrimony — Contact Us
 * Shortcode: [em_contact_us]
 */

.em-cu {
	--em-cu-primary: #c2185b;
	--em-cu-secondary: #fce4ec;
	--em-cu-bg: #ffffff;
	--em-cu-hero-bg: #fff5f7;
	--em-cu-card: #ffffff;
	--em-cu-heading: #1f2937;
	--em-cu-text: #4b5563;
	--em-cu-btn: #c2185b;
	--em-cu-btn-hover: #ad1457;
	--em-cu-radius: 16px;
	--em-cu-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
	--em-cu-spacing: 24px;
	--em-cu-padding: 28px;
	--em-cu-max: 1140px;
	--em-cu-sans: "Poppins", system-ui, -apple-system, sans-serif;
	--em-cu-border: #e5e7eb;
	--em-cu-muted: #6b7280;

	position: relative;
	width: 100%;
	background: var(--em-cu-bg);
	font-family: var(--em-cu-sans);
	color: var(--em-cu-text);
	box-sizing: border-box;
	overflow: hidden;
}

.em-cu *,
.em-cu *::before,
.em-cu *::after {
	box-sizing: border-box;
}

.em-cu__inner {
	width: 100%;
	max-width: var(--em-cu-max);
	margin: 0 auto;
	padding: 0 24px;
}

/* ---- Hero ---- */
.em-cu__hero {
	position: relative;
	background-color: var(--em-cu-hero-bg);
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.em-cu__hero-inner {
	position: relative;
	z-index: 1;
}

.em-cu__hero--center .em-cu__hero-inner {
	text-align: center;
}

.em-cu__hero--left .em-cu__hero-inner {
	text-align: left;
}

.em-cu__hero--right .em-cu__hero-inner {
	text-align: right;
}

.em-cu__hero-title {
	margin: 0 0 14px;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 700;
	line-height: 1.2;
	color: var(--em-cu-primary);
	letter-spacing: -0.02em;
}

.em-cu__hero-desc {
	margin: 0 0 4px;
	font-size: 16px;
	line-height: 1.55;
	color: var(--em-cu-text);
}

.em-cu__leaf {
	position: absolute;
	top: 12px;
	width: 120px;
	max-width: 28%;
	opacity: 0.45;
	pointer-events: none;
	z-index: 0;
}

.em-cu__leaf--left {
	left: 8px;
}

.em-cu__leaf--right {
	right: 8px;
	transform: scaleX(-1);
}

.em-cu__leaf-deco {
	position: absolute;
	top: 0;
	width: 180px;
	height: 160px;
	pointer-events: none;
	z-index: 0;
	opacity: 0.55;
	background-repeat: no-repeat;
	background-size: contain;
}

.em-cu__leaf-deco--left {
	left: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 140' fill='none'%3E%3Cpath d='M20 120C40 80 30 40 55 20c10 28 8 55-5 80' stroke='%23F8BBD0' stroke-width='2'/%3E%3Cpath d='M55 20c22 8 40 30 48 58' stroke='%23F48FB1' stroke-width='1.6'/%3E%3Cellipse cx='52' cy='48' rx='14' ry='22' transform='rotate(-25 52 48)' fill='%23FCE4EC' stroke='%23F8BBD0'/%3E%3Cellipse cx='78' cy='70' rx='12' ry='20' transform='rotate(15 78 70)' fill='%23FCE4EC' stroke='%23F8BBD0'/%3E%3Cellipse cx='40' cy='78' rx='10' ry='16' transform='rotate(-40 40 78)' fill='%23FFF5F7' stroke='%23F8BBD0'/%3E%3C/svg%3E");
}

.em-cu__leaf-deco--right {
	right: 0;
	transform: scaleX(-1);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 140' fill='none'%3E%3Cpath d='M20 120C40 80 30 40 55 20c10 28 8 55-5 80' stroke='%23F8BBD0' stroke-width='2'/%3E%3Cpath d='M55 20c22 8 40 30 48 58' stroke='%23F48FB1' stroke-width='1.6'/%3E%3Cellipse cx='52' cy='48' rx='14' ry='22' transform='rotate(-25 52 48)' fill='%23FCE4EC' stroke='%23F8BBD0'/%3E%3Cellipse cx='78' cy='70' rx='12' ry='20' transform='rotate(15 78 70)' fill='%23FCE4EC' stroke='%23F8BBD0'/%3E%3Cellipse cx='40' cy='78' rx='10' ry='16' transform='rotate(-40 40 78)' fill='%23FFF5F7' stroke='%23F8BBD0'/%3E%3C/svg%3E");
}

/* ---- Body / main grid ---- */
.em-cu__body {
	padding: 40px 0 56px;
}

.em-cu__main {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: var(--em-cu-spacing);
	align-items: start;
	margin-bottom: 48px;
}

.em-cu__card {
	background: var(--em-cu-card);
	border-radius: var(--em-cu-radius);
	box-shadow: var(--em-cu-shadow);
	padding: var(--em-cu-padding);
}

.em-cu__card-title {
	margin: 0 0 22px;
	font-size: 22px;
	font-weight: 700;
	color: var(--em-cu-heading);
}

/* ---- Contact blocks ---- */
.em-cu__blocks {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.em-cu__block {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.em-cu__block-icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--em-cu-secondary);
	color: var(--em-cu-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.em-cu__block-icon svg {
	width: 20px;
	height: 20px;
}

.em-cu__block-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.em-cu__block-title {
	font-size: 13px;
	font-weight: 600;
	color: var(--em-cu-muted);
	text-transform: none;
}

.em-cu__block-link {
	font-size: 15px;
	font-weight: 600;
	color: var(--em-cu-primary);
	text-decoration: none !important;
	word-break: break-word;
}

.em-cu__block-link:hover,
.em-cu__block-link:focus,
.em-cu__block-link:active,
.em-cu__block-link:visited,
.em-cu__block-link:focus-visible {
	text-decoration: none !important;
}

.em-cu__block-text {
	font-size: 14px;
	line-height: 1.45;
	color: var(--em-cu-text);
	white-space: pre-line;
}

/* ---- Form ---- */
.em-cu__form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.em-cu__row {
	display: grid;
	gap: 16px;
}

.em-cu__row--2 {
	grid-template-columns: 1fr 1fr;
}

.em-cu__field label,
.em-cu__field legend {
	display: block;
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 500;
	color: var(--em-cu-muted);
}

.em-cu__req {
	color: #e53935;
	margin-left: 2px;
}

.em-cu__field input[type="text"],
.em-cu__field input[type="email"],
.em-cu__field input[type="tel"],
.em-cu__field select,
.em-cu__field textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--em-cu-border);
	border-radius: 8px;
	padding: 12px 14px;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.5;
	color: var(--em-cu-heading);
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.em-cu__field select {
	min-height: 48px;
	height: auto;
	padding: 12px 40px 12px 14px;
	overflow: visible;
	text-overflow: clip;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555555' d='M1.4.6L6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 12px 8px;
	cursor: pointer;
}

.em-cu__field select option {
	line-height: 1.5;
	padding: 8px;
}

.em-cu__field input:focus,
.em-cu__field select:focus,
.em-cu__field textarea:focus {
	outline: none;
	border-color: var(--em-cu-primary);
	box-shadow: 0 0 0 3px rgba(194, 24, 91, 0.12);
}

.em-cu__field textarea {
	resize: vertical;
	min-height: 120px;
}

.em-cu__field.is-invalid input,
.em-cu__field.is-invalid select,
.em-cu__field.is-invalid textarea {
	border-color: #e53935;
}

.em-cu__field-error {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: #e53935;
}

.em-cu__reply {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.em-cu__radios {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
}

.em-cu__radio {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--em-cu-heading);
	cursor: pointer;
	margin: 0;
}

.em-cu__radio input {
	accent-color: var(--em-cu-primary);
	width: 16px;
	height: 16px;
}

.em-cu__counter {
	margin-top: 4px;
	font-size: 12px;
	color: var(--em-cu-muted);
	text-align: right;
}

.em-cu__consent .em-cu__check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--em-cu-text);
	cursor: pointer;
	margin: 0;
}

.em-cu__consent input {
	margin-top: 3px;
	accent-color: var(--em-cu-primary);
	flex-shrink: 0;
}

.em-cu__consent a {
	color: var(--em-cu-primary);
	text-decoration: underline;
}

.em-cu__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	border: 0;
	border-radius: 10px;
	padding: 14px 20px;
	background: var(--em-cu-btn);
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease;
	position: relative;
}

.em-cu__submit:hover,
.em-cu__submit:focus {
	background: var(--em-cu-btn-hover);
}

.em-cu__submit:active {
	transform: translateY(1px);
}

.em-cu__submit.is-loading {
	pointer-events: none;
	opacity: 0.85;
}

.em-cu__submit-icon {
	display: inline-flex;
	width: 18px;
	height: 18px;
}

.em-cu__submit-icon svg {
	width: 18px;
	height: 18px;
}

.em-cu__spinner {
	display: none;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: em-cu-spin 0.7s linear infinite;
}

.em-cu__submit.is-loading .em-cu__submit-icon {
	display: none;
}

.em-cu__submit.is-loading .em-cu__spinner {
	display: inline-block;
}

@keyframes em-cu-spin {
	to {
		transform: rotate(360deg);
	}
}

.em-cu__safe {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 4px 0 0;
	font-size: 12px;
	color: var(--em-cu-muted);
	text-align: center;
}

.em-cu__safe-icon {
	display: inline-flex;
	width: 14px;
	height: 14px;
	color: var(--em-cu-muted);
}

.em-cu__safe-icon svg {
	width: 14px;
	height: 14px;
}

.em-cu__alert {
	padding: 14px 16px;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.55;
	white-space: pre-wrap;
	margin-bottom: 4px;
}

.em-cu__alert--success {
	background: #e8f5e9;
	color: #1b5e20;
	border: 1px solid #c8e6c9;
}

.em-cu__alert--error {
	background: #fdecea;
	color: #b71c1c;
	border: 1px solid #f5c6cb;
}

.em-cu__alert[hidden] {
	display: none !important;
}

/* ---- Trust ---- */
.em-cu__trust {
	margin-bottom: 48px;
}

.em-cu__section-title {
	margin: 0 0 28px;
	font-size: clamp(22px, 3vw, 28px);
	font-weight: 700;
	color: var(--em-cu-heading);
	text-align: center;
	position: relative;
	padding-bottom: 12px;
}

.em-cu__section-title::after {
	content: "";
	display: block;
	width: 56px;
	height: 3px;
	margin: 12px auto 0;
	background: var(--em-cu-primary);
	border-radius: 2px;
}

.em-cu__section-title--left {
	text-align: left;
}

.em-cu__section-title--left::after {
	margin-left: 0;
	margin-right: auto;
}

.em-cu__trust-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.em-cu__trust-card {
	background: var(--em-cu-card);
	border-radius: var(--em-cu-radius);
	box-shadow: var(--em-cu-shadow);
	padding: 24px 18px;
	text-align: center;
}

.em-cu__trust-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--em-cu-secondary);
	color: var(--em-cu-primary);
}

.em-cu__trust-icon svg {
	width: 24px;
	height: 24px;
}

.em-cu__trust-title {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 700;
	color: var(--em-cu-heading);
}

.em-cu__trust-desc {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--em-cu-text);
}

/* ---- FAQ (premium card accordion) ---- */
.em-cu__faq {
	margin-bottom: 40px;
}

.em-cu__faq-heading {
	margin: 0;
	text-align: center;
	font-size: clamp(22px, 2.5vw, 28px);
	font-weight: 700;
	line-height: 1.3;
	color: #222222;
}

.em-cu__faq-heading-rule {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 12px auto 28px;
}

.em-cu__faq-heading-line {
	display: block;
	width: 28px;
	height: 1px;
	background: #f8d7dc;
}

.em-cu__faq-heading-heart {
	font-size: 12px;
	line-height: 1;
	color: #d32f2f;
}

.em-cu__faq-grid {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr;
	gap: 36px;
	align-items: start;
}

.em-cu__faq-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.em-cu__faq-item {
	background: #ffffff;
	border: 1px solid #e8e8e8;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	transition: border-color 300ms ease, box-shadow 300ms ease;
}

.em-cu__faq-item:hover {
	transform: none;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.em-cu__faq-item.is-open {
	border-color: #d32f2f;
}

.em-cu__faq-q,
.em-cu__faq-q:hover,
.em-cu__faq-q:focus,
.em-cu__faq-q:active,
.em-cu__faq-q:focus-visible {
	width: 100%;
	min-height: 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 20px 20px 20px 24px;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	font-family: inherit;
	text-align: left;
	cursor: pointer;
	color: inherit;
	outline: none;
	transition: background-color 300ms ease;
	-webkit-appearance: none;
	appearance: none;
}

.em-cu__faq-item.is-open .em-cu__faq-q,
.em-cu__faq-item.is-open .em-cu__faq-q:hover,
.em-cu__faq-item.is-open .em-cu__faq-q:focus,
.em-cu__faq-item.is-open .em-cu__faq-q:active,
.em-cu__faq-item.is-open .em-cu__faq-q:focus-visible {
	background: #fff6f8 !important;
	background-color: #fff6f8 !important;
}

.em-cu__faq-q-main {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	min-width: 0;
	flex: 1 1 auto;
}

.em-cu__faq-num {
	flex: 0 0 auto;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
	color: #d32f2f;
}

.em-cu__faq-q-text {
	display: block;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.5;
	color: #222222;
}

.em-cu__faq-icon {
	flex: 0 0 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff4f6;
	color: #d32f2f;
}

.em-cu__faq-chevron {
	display: block;
	width: 20px;
	height: 20px;
	transition: transform 0.3s ease;
}

.em-cu__faq-item.is-open .em-cu__faq-chevron {
	transform: rotate(180deg);
}

.em-cu__faq-a {
	padding: 0 24px 24px;
	background: #ffffff;
}

.em-cu__faq-a[hidden] {
	display: none !important;
}

.em-cu__faq-divider {
	height: 0;
	border: 0;
	border-top: 1px solid #f0f0f0;
	margin: 16px 0 18px;
}

.em-cu__faq-a-inner {
	max-width: 95%;
	font-size: 17px;
	line-height: 1.8;
	color: #555555;
}

@media (prefers-reduced-motion: reduce) {
	.em-cu__faq-item,
	.em-cu__faq-q,
	.em-cu__faq-chevron {
		transition: none;
	}
}

.em-cu__faq-side {
	text-align: center;
	padding: 12px 8px;
}

.em-cu__faq-bubble {
	position: relative;
	height: 140px;
	margin-bottom: 16px;
}

.em-cu__bubble {
	position: absolute;
	border-radius: 50%;
	background: var(--em-cu-secondary);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.em-cu__bubble--lg {
	width: 88px;
	height: 88px;
	left: 50%;
	top: 20px;
	transform: translateX(-50%);
	background: var(--em-cu-primary);
	box-shadow: 0 10px 24px rgba(194, 24, 91, 0.25);
}

.em-cu__bubble--lg svg {
	width: 36px;
	height: 36px;
	color: #fff;
}

.em-cu__bubble--sm {
	width: 36px;
	height: 36px;
	left: 18%;
	top: 8px;
	opacity: 0.85;
}

.em-cu__bubble--xs {
	width: 22px;
	height: 22px;
	right: 20%;
	bottom: 18px;
	opacity: 0.7;
}

.em-cu__faq-side-title {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 700;
	color: var(--em-cu-heading);
}

.em-cu__faq-side-text {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--em-cu-text);
}

/* ---- CTA ---- */
.em-cu__cta {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	background: var(--em-cu-hero-bg);
	border-radius: var(--em-cu-radius);
	padding: 22px 26px;
	box-shadow: none;
}

.em-cu__cta-icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--em-cu-primary);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.em-cu__cta-icon svg {
	width: 22px;
	height: 22px;
}

.em-cu__cta-text {
	flex: 1 1 200px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.em-cu__cta-heading {
	font-size: 17px;
	font-weight: 700;
	color: var(--em-cu-heading);
}

.em-cu__cta-desc {
	font-size: 14px;
	color: var(--em-cu-text);
}

.em-cu__cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 20px;
	border-radius: 10px;
	border: 1.5px solid var(--em-cu-primary);
	background: #fff;
	color: var(--em-cu-primary);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease;
}

.em-cu__cta-btn:hover,
.em-cu__cta-btn:focus,
.em-cu__cta-btn:active,
.em-cu__cta-btn:visited,
.em-cu__cta-btn:focus-visible {
	background: var(--em-cu-primary);
	color: #fff;
	text-decoration: none !important;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
	.em-cu__main {
		grid-template-columns: 1fr;
	}

	.em-cu__trust-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.em-cu__faq-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.em-cu__faq-side {
		order: -1;
	}

	.em-cu__faq-q {
		padding: 18px;
		padding-right: 18px;
	}

	.em-cu__faq-num,
	.em-cu__faq-q-text {
		font-size: 18px;
	}

	.em-cu__faq-a {
		padding: 0 18px 18px;
	}
}

@media (max-width: 640px) {
	.em-cu__inner {
		padding: 0 16px;
	}

	.em-cu__body {
		padding: 28px 0 40px;
	}

	.em-cu__card {
		padding: 20px 16px;
	}

	.em-cu__row--2 {
		grid-template-columns: 1fr;
	}

	.em-cu__trust-grid {
		grid-template-columns: 1fr;
	}

	.em-cu__leaf,
	.em-cu__leaf-deco {
		width: 100px;
		opacity: 0.35;
	}

	.em-cu__cta {
		flex-direction: column;
		align-items: flex-start;
		padding: 18px 16px;
	}

	.em-cu__cta-btn {
		width: 100%;
		justify-content: center;
	}

	.em-cu__radios {
		flex-direction: column;
		gap: 10px;
	}

	.em-cu__faq-list {
		gap: 16px;
	}

	.em-cu__faq-q {
		padding: 16px;
		min-height: 64px;
		gap: 24px;
	}

	.em-cu__faq-num,
	.em-cu__faq-q-text {
		font-size: 17px;
	}

	.em-cu__faq-a {
		padding: 0 16px 16px;
	}

	.em-cu__faq-a-inner {
		font-size: 17px;
	}
}
