/* =========================================================
   YCM Contact Section widget (info left + form card right).
   ========================================================= */

.ycm-contact {
	/* background-color: #eff3ff; */
	padding: 90px 0 100px;
}

.ycm-contact__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
	box-sizing: border-box;
}

.ycm-contact__grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 60px;
	align-items: start;
}

/* --- Left column --- */
.ycm-contact__eyebrow {
	display: block;
	font-size: 17px;
	font-weight: 700;
	color: #0f67fe;
	margin-bottom: 16px;
}

.ycm-contact__heading {
	font-size: 44px;
	line-height: 1.15;
	font-weight: 800;
	color: #1a1a1a;
	margin: 0 0 18px;
	max-width: 460px;
}

.ycm-contact__subheading {
	font-size: 16px;
	line-height: 1.6;
	color: #6b7280;
	margin: 0;
	max-width: 520px;
}

.ycm-contact__social {
	margin-top: 64px;
}

.ycm-contact__social-title {
	font-size: 16px;
	color: #1a1a1a;
	margin: 0 0 16px;
}

.ycm-contact__social-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.ycm-contact__social-list a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1px solid #d9deea;
	border-radius: 12px;
	color: #111;
	background: transparent;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.ycm-contact__social-list a:hover {
	border-color: #0f67fe;
	transform: translateY(-2px);
}

/* --- Form card --- */
.ycm-contact__form {
	background-color: #fff;
	border-radius: 24px;
	padding: 36px;
	box-shadow: 0 20px 50px rgba( 16, 24, 40, 0.08 );
}

.ycm-contact__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ycm-contact__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.ycm-contact__field {
	margin-bottom: 20px;
}

.ycm-contact__label {
	display: block;
	font-size: 15px;
	font-weight: 500;
	color: #374151;
	margin-bottom: 8px;
}

.ycm-contact__req {
	color: #0f67fe;
	font-size: 12px;
	vertical-align: super;
}

.ycm-contact__input {
	width: 100%;
	border: 1px solid #edeff3;
	border-radius: 8px;
	padding: 13px 15px;
	font-size: 15px;
	color: #111827;
	background-color: #fafafa;
	box-sizing: border-box;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ycm-contact__input:focus {
	border-color: #0f67fe;
	background-color: #fff;
	box-shadow: 0 0 0 3px rgba( 15, 103, 254, 0.1 );
}

.ycm-contact__input::placeholder {
	color: #9ca3af;
}

.ycm-contact__textarea {
	resize: vertical;
	min-height: 120px;
}

/* Phone with country selector */
.ycm-contact__phone {
	display: flex;
	align-items: center;
	border: 1px solid #edeff3;
	border-radius: 8px;
	background-color: #fafafa;
	overflow: hidden;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ycm-contact__phone:focus-within {
	border-color: #0f67fe;
	box-shadow: 0 0 0 3px rgba( 15, 103, 254, 0.1 );
}

.ycm-contact__country {
	border: 0;
	background: transparent;
	padding: 13px 8px 13px 15px;
	font-size: 15px;
	color: #374151;
	cursor: pointer;
	outline: none;
}

.ycm-contact__phone-input {
	flex: 1 1 auto;
	border: 0;
	background: transparent;
	padding: 13px 15px 13px 6px;
	font-size: 15px;
	color: #111827;
	outline: none;
	min-width: 0;
}

.ycm-contact__phone-input::placeholder {
	color: #9ca3af;
}

.ycm-contact__input.is-invalid,
.ycm-contact__phone.is-invalid {
	border-color: #e5484d;
}

/* Consent */
.ycm-contact__agree {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 15px;
	color: #374151;
	margin: 6px 0 24px;
	cursor: pointer;
}

.ycm-contact__agree input {
	width: 18px;
	height: 18px;
	margin-top: 1px;
	accent-color: #0f67fe;
	flex: 0 0 auto;
}

.ycm-contact__agree a {
	color: #0f67fe;
	text-decoration: none;
}

.ycm-contact__agree a:hover {
	text-decoration: underline;
}

/* Submit */
.ycm-contact__submit {
	width: 100%;
	border: 0;
	background-color: #0f67fe;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	padding: 16px 26px;
	border-radius: 10px;
	cursor: pointer;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}

.ycm-contact__submit:hover {
	background-color: #0b53d1;
}

.ycm-contact__submit.is-loading {
	opacity: 0.7;
	cursor: default;
}

/* Status */
.ycm-contact__status {
	margin-top: 16px;
	font-size: 15px;
	line-height: 1.5;
	display: none;
	padding: 12px 16px;
	border-radius: 8px;
}

.ycm-contact__status.is-visible {
	display: block;
}

.ycm-contact__status.is-success {
	background-color: #e7f6ec;
	color: #1a7f43;
}

.ycm-contact__status.is-error {
	background-color: #fdeaea;
	color: #c0392b;
}

/* --- Responsive --- */
@media (max-width: 900px) {
	.ycm-contact__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.ycm-contact__heading {
		font-size: 36px;
	}
	.ycm-contact__social {
		margin-top: 28px;
	}
}

@media (max-width: 560px) {
	.ycm-contact {
		padding: 56px 0 64px;
	}
	.ycm-contact__form {
		padding: 24px;
	}
	.ycm-contact__row {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.ycm-contact__heading {
		font-size: 30px;
	}
}

/* ---- Typography: title + content use Roboto ---- */
.ycm-contact__eyebrow,
.ycm-contact__heading,
.ycm-contact__subheading,
.ycm-contact__social-title,
.ycm-contact__label,
.ycm-contact__input,
.ycm-contact__country,
.ycm-contact__phone-input,
.ycm-contact__agree,
.ycm-contact__submit,
.ycm-contact__status {
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
