/* Shared tokens for homepage layout + floating quote modal */
.unified-contact-form-wrapper2,
.zroc-quote-form,
.zroc-inquiry-modal {
	--uc-ink: #111827;
	--uc-muted: #6b7280;
	--uc-line: #d1d5db;
	--uc-panel: #f3f4f6;
	--uc-card: #f4f6f8;
	--uc-brand: #0065b1;
}

.unified-contact-form-wrapper2 {
	width: 100%;
	margin: 1.5rem auto 2.5rem;
	padding: 0.5rem 0 1rem;
	color: var(--uc-ink);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}

#wrap .unified-contact-form-wrapper2 {
	margin-top: 0.5rem;
	padding-top: 0;
}

.unified-contact-form-wrapper2 *,
.unified-contact-form-wrapper2 *::before,
.unified-contact-form-wrapper2 *::after,
.zroc-quote-form *,
.zroc-quote-form *::before,
.zroc-quote-form *::after {
	box-sizing: border-box;
}

.unified-contact-form-wrapper2 h2,
.unified-contact-form-wrapper2 h3,
.unified-contact-form-wrapper2 p,
.unified-contact-form-wrapper2 label,
.unified-contact-form-wrapper2 strong,
.unified-contact-form-wrapper2 a,
.unified-contact-form-wrapper2 span,
.unified-contact-form-wrapper2 input,
.unified-contact-form-wrapper2 select,
.unified-contact-form-wrapper2 textarea,
.unified-contact-form-wrapper2 button,
.zroc-quote-form h2,
.zroc-quote-form h3,
.zroc-quote-form p,
.zroc-quote-form label,
.zroc-quote-form strong,
.zroc-quote-form a,
.zroc-quote-form span,
.zroc-quote-form input,
.zroc-quote-form select,
.zroc-quote-form textarea,
.zroc-quote-form button {
	font-family: "Open Sans", Arial, sans-serif;
	font-weight: 400;
}

.contact-form-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 48px 64px;
	align-items: start;
}

.contact-form-left-title {
	margin: 0 0 16px;
	color: var(--uc-ink);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.contact-form-left-description {
	margin: 0 0 28px;
	max-width: 36em;
	color: var(--uc-muted);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.7;
}

.contact-form-info {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0 0 28px;
	padding: 20px 22px;
	background: var(--uc-panel);
	border-radius: 12px;
}

.contact-info-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.contact-info-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	color: #6b7280;
}

.contact-info-text {
	color: #374151;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.55;
}

.contact-info-text strong {
	margin-right: 4px;
	color: var(--uc-ink);
	font-weight: 700;
}

.contact-info-text a {
	color: #374151;
	text-decoration: none;
}

.contact-info-text a:hover {
	color: var(--uc-brand);
}

.contact-form-whatsapp {
	max-width: 220px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.whatsapp-qr-code {
	width: 200px;
	height: 200px;
	margin: 0 auto;
	padding: 8px;
	background: #fff;
	border: 1px solid #e5e7eb;
}

.whatsapp-qr-code img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.whatsapp-text {
	margin-top: 10px;
	color: var(--uc-ink);
	font-size: 16px;
	font-weight: 700;
}

.whatsapp-sentence {
	margin-top: 4px;
	color: var(--uc-muted);
	font-size: 13px;
	line-height: 1.45;
}

.contact-form-layout,
.contact-form-right,
.contact-form-shortcode-wrapper,
.unified-contact-form-wrapper {
	overflow: visible;
}

.contact-form-container {
	padding: 36px 40px 32px;
	background: var(--uc-card);
	border-radius: 16px;
	overflow: visible;
}

.contact-form-header {
	margin: 0 0 24px;
	text-align: center;
}

.contact-form-title {
	margin: 0 0 8px;
	color: var(--uc-ink);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
}

.contact-form-description {
	margin: 0 auto;
	max-width: 34em;
	color: var(--uc-muted);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
}

.unified-contact-form {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 20px;
	width: 100%;
}

.unified-contact-form .form-field-wrapper {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.unified-contact-form .field-width-half {
	flex: 1 1 calc(50% - 10px);
	width: calc(50% - 10px);
}

.unified-contact-form .field-width-full,
.unified-contact-form .form-field-wrapper-button {
	flex: 1 1 100%;
	width: 100%;
}

.unified-contact-form label {
	color: #111827;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
}

.unified-contact-form .required {
	color: #e11d48;
	font-weight: 700;
}

.unified-contact-form .form-control,
.unified-contact-form input[type="text"],
.unified-contact-form input[type="email"],
.unified-contact-form select,
.unified-contact-form textarea {
	display: block;
	width: 100%;
	margin: 0;
	padding: 10px 12px;
	color: #111827;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	background: #fff;
	border: 1px solid var(--uc-line, #d1d5db);
	border-radius: 6px;
	outline: none;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
}

.unified-contact-form select.form-control {
	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='%236b7280' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 36px;
}

.unified-contact-form textarea.form-control {
	min-height: 120px;
	resize: vertical;
}

.unified-contact-form .form-control:focus,
.unified-contact-form input:focus,
.unified-contact-form select:focus,
.unified-contact-form textarea:focus {
	border-color: var(--uc-brand, #0065b1);
	box-shadow: 0 0 0 3px rgba(0, 101, 177, 0.12);
}

.unified-contact-form .contact-privacy-consent {
	flex: 1 1 100%;
	width: 100%;
}

.unified-contact-form .privacy-consent-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	color: #4b5563;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	cursor: pointer;
}

.unified-contact-form .privacy-consent-label input[type="checkbox"] {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin: 2px 0 0;
	padding: 0;
	accent-color: var(--uc-brand, #0065b1);
	appearance: auto;
	-webkit-appearance: auto;
}

.unified-contact-form .privacy-consent-label a {
	color: var(--uc-brand, #0065b1);
	font-weight: 600;
	text-decoration: underline;
}

.unified-contact-form .privacy-consent-label a:hover {
	text-decoration: none;
}

.unified-contact-form .privacy-consent-label:has(input:user-invalid) {
	color: #991b1b;
}

.unified-contact-form .contact-form-js-status {
	margin-top: 10px;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
	text-align: center;
}

.unified-contact-form .contact-form-js-status.is-pending {
	color: #1e3a5f;
	background: #e8f1f8;
	border: 1px solid #c5d9ea;
}

.unified-contact-form .contact-form-js-status.is-success {
	color: #065f46;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
}

.unified-contact-form .contact-form-js-status.is-error {
	color: #991b1b;
	background: #fef2f2;
	border: 1px solid #fecaca;
}

.unified-contact-form .captcha-row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 10px;
	align-items: center;
}

.unified-contact-form .captcha-row span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 14px;
	color: #111827;
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
	background: #f8fafc;
	border: 1px solid var(--uc-line);
	border-radius: 6px;
}

.unified-contact-form .captcha-row input {
	display: block;
	width: 100%;
	margin: 0;
	padding: 10px 12px;
	color: #111827;
	font-size: 14px;
	line-height: 1.4;
	background: #fff;
	border: 1px solid var(--uc-line);
	border-radius: 6px;
	outline: none;
	box-shadow: none;
}

.unified-contact-form .captcha-row input:focus {
	border-color: var(--uc-brand);
	box-shadow: 0 0 0 3px rgba(0, 101, 177, 0.12);
}

.unified-contact-form .g-recaptcha,
.unified-contact-form .cf-turnstile,
.unified-contact-form .mz-aliyun-captcha {
	width: 100%;
	max-width: 100%;
}

.unified-contact-form .mz-captcha-missing {
	margin: 0;
	color: #991b1b;
	font-size: 13px;
}

.form-field-wrapper-button {
	position: relative;
	overflow: visible;
}

.unified-contact-form-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 12px 20px;
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.01em;
	background: var(--uc-brand, #0065b1) !important;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s ease, opacity 0.2s ease;
}

.unified-contact-form-submit:hover {
	background: #085a9c !important;
}

.unified-contact-form-submit.is-submitting,
.unified-contact-form-submit:disabled {
	opacity: 0.7;
	cursor: wait;
}

.unified-contact-form .cnc-inquiry-submit-anchor,
.unified-contact-form .cnc-form-toast-anchor {
	position: relative;
	display: block;
	width: 100%;
	overflow: visible;
}

.unified-contact-form .cnc-form-toast-stack {
	z-index: 1200;
	bottom: calc(100% + 12px);
	max-width: min(22rem, calc(100vw - 2rem));
}

.zroc-button-toast {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 12px);
	z-index: 80;
	width: max-content;
	max-width: min(22rem, calc(100% - 8px));
	padding: 12px 14px;
	color: #111827;
	font-size: 14px;
	line-height: 1.45;
	background: #fff;
	border: 1px solid rgba(0, 101, 177, 0.16);
	border-radius: 12px;
	box-shadow: 0 16px 36px rgba(33, 35, 38, 0.16);
	transform: translateX(-50%) translateY(8px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.zroc-button-toast.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.zroc-button-toast strong,
.zroc-button-toast span {
	display: block;
}

.zroc-button-toast strong {
	margin-bottom: 2px;
	font-weight: 700;
}

.contact-form-submit-note {
	margin-top: 14px;
	color: var(--uc-muted);
	font-size: 13px;
	text-align: center;
}

.contact-form-status {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	text-align: left;
}

.contact-form-status.is-success {
	color: #065f46;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
}

.contact-form-status.is-error {
	color: #991b1b;
	background: #fef2f2;
	border: 1px solid #fecaca;
}

.form-field-wrapper-button .contact-form-status {
	margin: 12px 0 0;
}

.unified-contact-form .inquiry-hp {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

@media only screen and (max-width: 1023px) {
	.contact-form-layout {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.contact-form-left-title {
		font-size: 26px;
	}

	.contact-form-container {
		padding: 28px 22px 24px;
	}

	.contact-form-whatsapp {
		max-width: 220px;
		margin-left: auto;
		margin-right: auto;
	}
}

@media only screen and (max-width: 767px) {
	.unified-contact-form-wrapper2 {
		margin: 1rem auto 1.5rem;
	}

	.unified-contact-form .field-width-half {
		flex: 1 1 100%;
		width: 100%;
	}

	.contact-form-left-title {
		font-size: 22px;
	}

	.whatsapp-qr-code {
		width: 180px;
		height: 180px;
	}
}
