/* Contact — info cards overlapping form panel (light theme) */

.prx-contact {
	--prx-c-bg: #ffffff;
	--prx-c-panel: #7ec8e3;
	--prx-c-panel-deep: #3c97e8;
	--prx-c-gradient: linear-gradient(90deg, #29c5d9 0%, #6e99ee 50%, #a879f5 100%);
	--prx-c-card: #ffffff;
	--prx-c-card-border: #d7e6f0;
	--prx-c-ink: #0b1c33;
	--prx-c-muted: #3d4f63;
	--prx-c-white: #ffffff;
	--prx-c-icon: #3c97e8;

	background: var(--prx-c-bg);
	padding: 56px 0 80px;
	min-height: 60vh;
	color: var(--prx-c-ink);
	font-size: 15px;
}

.prx-contact .container {
	position: relative;
	max-width: 1040px;
}

.prx-contact__cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	position: relative;
	z-index: 2;
	margin-bottom: -40px;
}

.prx-contact__card {
	background: var(--prx-c-card);
	border: 1px solid var(--prx-c-card-border);
	border-radius: 8px;
	padding: 32px 20px 28px;
	text-align: center;
	box-shadow: 0 8px 24px rgba(11, 28, 51, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.prx-contact__card:hover {
	transform: translateY(-4px);
	background: var(--prx-c-white);
	box-shadow: 0 14px 32px rgba(11, 28, 51, 0.14);
}

.prx-contact__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 16px;
	color: var(--prx-c-icon);
	background: var(--prx-c-white);
	border-radius: 50%;
	box-shadow: 0 2px 10px rgba(60, 151, 232, 0.18);
}

.prx-contact__icon .prx-icon {
	display: inline-flex;
	color: inherit;
}

.prx-contact__icon svg {
	fill: currentColor;
	width: 30px;
	height: 30px;
}

.prx-contact__card-title {
	margin: 0 0 14px;
	font-family: "Poppins", Arial, sans-serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--prx-c-ink);
	line-height: 1.35;
}

.prx-contact__card-text {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--prx-c-muted);
	font-weight: 400;
}

.prx-contact__card-text a {
	color: var(--prx-c-muted);
	text-decoration: none;
}

.prx-contact__card-text a:hover,
.prx-contact__card-text a:focus {
	color: #3c97e8;
	text-decoration: underline;
}

.prx-contact__panel {
	position: relative;
	z-index: 1;
	background: var(--prx-c-gradient);
	border-radius: 8px;
	padding: 72px 52px 52px;
	box-shadow: 0 12px 36px rgba(11, 28, 51, 0.12);
}

.prx-contact__title {
	margin: 0 0 32px;
	text-align: center;
	font-family: "Poppins", Arial, sans-serif;
	font-size: clamp(2.4rem, 4.5vw, 3rem);
	font-weight: 700;
	color: #ffffff;
	letter-spacing: -0.02em;
}

.prx-contact__notice {
	max-width: 560px;
	margin: 0 auto 22px;
	padding: 14px 18px;
	border-radius: 6px;
	text-align: center;
	font-size: 15px;
	line-height: 1.5;
}

.prx-contact__notice--ok {
	background: rgba(255, 255, 255, 0.9);
	color: #1a5c2e;
}

.prx-contact__notice--err {
	background: rgba(255, 240, 240, 0.95);
	color: #8a1f1f;
}

.prx-contact__form {
	max-width: 560px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.prx-contact__input,
.prx-contact__textarea {
	width: 100%;
	margin: 0;
	padding: 18px 20px;
	border: 0;
	border-radius: 4px;
	background: var(--prx-c-white);
	color: var(--prx-c-ink);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.45;
	box-shadow: inset 0 0 0 1px rgba(11, 28, 51, 0.08);
	transition: box-shadow 0.2s ease;
}

.prx-contact__input:focus,
.prx-contact__textarea:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(60, 151, 232, 0.45);
}

.prx-contact__textarea {
	min-height: 160px;
	resize: vertical;
}

.prx-contact__input::placeholder,
.prx-contact__textarea::placeholder {
	color: #7a8b9c;
	opacity: 1;
	font-size: 15px;
}

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

.prx-contact__submit {
	align-self: center;
	margin-top: 12px;
	min-width: 200px;
	padding: 16px 36px;
	border: 2px solid var(--prx-c-white);
	border-radius: 999px;
	background: transparent;
	color: var(--prx-c-white);
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.prx-contact__submit:hover,
.prx-contact__submit:focus-visible {
	background: rgba(255, 255, 255, 0.2);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(11, 28, 51, 0.18);
	outline: none;
	color: #ffffff;
}

/* CF7 fallback styling inside panel */
.prx-contact__cf7 .wpcf7-form {
	max-width: 560px;
	margin: 0 auto;
}

.prx-contact__cf7 input[type="text"],
.prx-contact__cf7 input[type="email"],
.prx-contact__cf7 textarea {
	width: 100%;
	padding: 16px 18px;
	border: 0;
	background: #fff;
	margin-bottom: 12px;
	font-size: 15px;
}

.prx-contact__cf7 input[type="submit"] {
	display: block;
	margin: 12px auto 0;
	padding: 14px 32px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

@media (max-width: 991px) {
	.prx-contact__cards {
		grid-template-columns: 1fr 1fr;
		margin-bottom: -28px;
	}

	.prx-contact__panel {
		padding: 64px 36px 44px;
	}
}

@media (max-width: 575px) {
	.prx-contact {
		padding: 36px 0 56px;
	}

	.prx-contact__cards {
		grid-template-columns: 1fr;
		margin-bottom: 18px;
	}

	.prx-contact__card-title {
		font-size: 15px;
	}

	.prx-contact__card-text {
		font-size: 15px;
	}

	.prx-contact__panel {
		padding: 40px 22px 36px;
	}
}

.prx-contact-page #colorlib-main {
	padding-bottom: 0;
}

.prx-contact .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
