/* Auto Contact Form — Reach Us Directly
   Colors are exposed as custom properties so Elementor controls can override them. */

.pacf-wrap {
	--pacf-accent: #0277BD;
	--pacf-accent-dark: #01579B;
	--pacf-heading: #0277BD;
	--pacf-label: #0277BD;
	--pacf-body: #4D4D4D;
	--pacf-card-bg: #F1F8FE;
	--pacf-field-bg: #E3EFF9;
	--pacf-radius: 24px;
	--pacf-font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	font-family: var(--pacf-font);
	max-width: 780px;
	width: 100%;
	box-sizing: border-box;
}

.pacf-wrap *,
.pacf-wrap *::before,
.pacf-wrap *::after {
	box-sizing: border-box;
}

.pacf-form {
	background: var(--pacf-card-bg);
	border: 1px solid rgba(2, 119, 189, 0.10);
	border-radius: var(--pacf-radius);
	box-shadow: 0 24px 60px rgba(2, 119, 189, 0.10);
	padding: 38px 42px 42px;
	position: relative;
}

/* Honeypot */
.pacf-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Header ------------------------------------------------------------------ */

.pacf-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 30px;
}

.pacf-title {
	font-family: var(--pacf-font);
	font-size: 42px;
	line-height: 1.12;
	font-weight: 800;
	color: var(--pacf-heading);
	letter-spacing: -0.5px;
	margin: 0;
	padding: 0;
}

.pacf-badge {
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--pacf-accent);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 4px;
}

.pacf-badge svg {
	display: block;
}

/* Grid -------------------------------------------------------------------- */

.pacf-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	column-gap: 26px;
	row-gap: 28px;
}

.pacf-col-4 { grid-column: span 4; }
.pacf-col-6 { grid-column: span 6; }
.pacf-col-12 { grid-column: span 12; }

.pacf-field {
	min-width: 0;
}

.pacf-field > label {
	display: block;
	font-family: var(--pacf-font);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--pacf-label);
	margin: 0 0 12px;
	letter-spacing: 0;
}

/* Inputs ------------------------------------------------------------------ */

.pacf-wrap input[type="text"],
.pacf-wrap input[type="email"],
.pacf-wrap input[type="tel"],
.pacf-wrap select,
.pacf-wrap textarea {
	width: 100%;
	font-family: var(--pacf-font);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--pacf-body);
	background: transparent;
	border: 0;
	border-bottom: 2px solid var(--pacf-accent);
	border-radius: 6px 6px 0 0;
	padding: 11px 12px;
	height: 46px;
	margin: 0;
	outline: none;
	box-shadow: none;
	transition: background-color 0.18s ease, border-color 0.18s ease;
	-webkit-appearance: none;
	appearance: none;
}

.pacf-wrap input::placeholder,
.pacf-wrap textarea::placeholder {
	color: var(--pacf-body);
	opacity: 0.62;
	font-weight: 400;
}

.pacf-wrap input:hover,
.pacf-wrap select:hover,
.pacf-wrap textarea:hover,
.pacf-wrap input:focus,
.pacf-wrap select:focus,
.pacf-wrap textarea:focus {
	background: var(--pacf-field-bg);
}

.pacf-wrap input:focus-visible,
.pacf-wrap select:focus-visible,
.pacf-wrap textarea:focus-visible {
	border-bottom-color: var(--pacf-accent-dark);
	box-shadow: inset 0 -3px 0 -1px var(--pacf-accent-dark);
}

/* Phone with country flag */

.pacf-phone {
	position: relative;
	display: flex;
	align-items: center;
	border-bottom: 2px solid var(--pacf-accent);
	border-radius: 6px 6px 0 0;
	transition: background-color 0.18s ease;
}

.pacf-phone:hover,
.pacf-phone:focus-within {
	background: var(--pacf-field-bg);
}

.pacf-flag {
	font-size: 17px;
	line-height: 1;
	padding: 0 8px 0 12px;
	flex: 0 0 auto;
}

.pacf-wrap .pacf-phone input[type="tel"] {
	border-bottom: 0;
	background: transparent;
	padding-left: 0;
	border-radius: 0;
}

.pacf-wrap .pacf-phone input[type="tel"]:hover,
.pacf-wrap .pacf-phone input[type="tel"]:focus,
.pacf-wrap .pacf-phone input[type="tel"]:focus-visible {
	background: transparent;
	box-shadow: none;
}

.pacf-phone:focus-within {
	border-bottom-color: var(--pacf-accent-dark);
	box-shadow: inset 0 -3px 0 -1px var(--pacf-accent-dark);
}

/* Selects */

.pacf-select {
	position: relative;
}

.pacf-wrap .pacf-select select {
	padding-right: 36px;
	cursor: pointer;
}

.pacf-caret {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--pacf-accent);
	pointer-events: none;
}

.pacf-wrap select:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

/* Message */

.pacf-field--message {
	margin-top: 2px;
}

.pacf-wrap textarea {
	height: auto;
	min-height: 78px;
	resize: vertical;
	padding-top: 6px;
}

/* Errors ------------------------------------------------------------------ */

.pacf-error {
	display: none;
	font-family: var(--pacf-font);
	font-size: 12.5px;
	line-height: 1.4;
	color: #C62828;
	margin-top: 6px;
}

.pacf-field.is-invalid .pacf-error {
	display: block;
}

.pacf-field.is-invalid input,
.pacf-field.is-invalid select,
.pacf-field.is-invalid textarea,
.pacf-field.is-invalid .pacf-phone {
	border-bottom-color: #C62828;
}

/* Submit ------------------------------------------------------------------ */

.pacf-submit {
	width: 100%;
	margin-top: 34px;
	min-height: 58px;
	background: var(--pacf-accent);
	color: #fff;
	font-family: var(--pacf-font);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.2;
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	transition: background-color 0.18s ease, transform 0.12s ease;
	-webkit-appearance: none;
	appearance: none;
}

.pacf-submit:hover {
	background: var(--pacf-accent-dark);
}

.pacf-submit:active {
	transform: translateY(1px);
}

.pacf-submit:focus-visible {
	outline: 3px solid var(--pacf-accent-dark);
	outline-offset: 3px;
}

.pacf-submit[disabled] {
	opacity: 0.75;
	cursor: progress;
}

.pacf-spinner {
	display: none;
	width: 17px;
	height: 17px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: pacf-spin 0.7s linear infinite;
}

.pacf-form.is-sending .pacf-spinner {
	display: block;
}

@keyframes pacf-spin {
	to { transform: rotate(360deg); }
}

/* Status message ---------------------------------------------------------- */

.pacf-message {
	display: none;
	font-family: var(--pacf-font);
	font-size: 15px;
	line-height: 1.5;
	color: var(--pacf-body);
	margin: 18px 0 0;
	padding: 13px 16px;
	border-radius: 10px;
	background: var(--pacf-field-bg);
	border-left: 4px solid var(--pacf-accent);
}

.pacf-message.is-visible {
	display: block;
}

.pacf-message.is-error {
	background: #FDECEC;
	border-left-color: #C62828;
	color: #8E1F1F;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 767px) {
	.pacf-form {
		padding: 28px 22px 30px;
		border-radius: 18px;
	}

	.pacf-title {
		font-size: 30px;
	}

	.pacf-badge {
		width: 46px;
		height: 46px;
	}

	.pacf-badge svg {
		width: 22px;
		height: 22px;
	}

	.pacf-head {
		margin-bottom: 22px;
	}

	.pacf-grid {
		column-gap: 18px;
		row-gap: 22px;
	}

	.pacf-col-4,
	.pacf-col-6 {
		grid-column: span 12;
	}

	.pacf-submit {
		margin-top: 26px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pacf-wrap * {
		transition: none !important;
		animation-duration: 0.01ms !important;
	}
}
