/*
 * Polca Contact Form — v0.3.1 (restored modern design with header overlap fix)
 *
 * Design language: refined modern (restored from v0.2.1 after editorial detour).
 * Brand-locked palette (Navy #3F536E, Orange #FDAB00, Yellow #FFE08A, Red #DC2626)
 * on a soft cream canvas with deeper layered shadows, larger radii, generous
 * spacing, and tactile micro-interactions.
 *
 * Changes vs v0.2.1:
 *   - Hero margin-top: -70px so it slides under transparent site header.
 *   - Hero intro link colors hardened with !important to beat Hello Elementor
 *     global anchor color override.
 *   - All other styles restored verbatim from v0.2.1.
 *
 * All transitions: 220ms cubic-bezier(.4, 0, .2, 1).
 */

/* ============================================================
   1. Page container + full-bleed hero
   ============================================================ */

.polca-contact-page {
	font-family: Georgia, "Times New Roman", serif;
	color: #3F536E;
}

.polca-contact-hero {
	position: relative;
	width: 100vw;
	margin-top: -70px; /* slide under transparent header */
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 190px 24px 140px; /* compensate top padding to keep content below header */
	text-align: center;
	color: #ffffff;
	background:
		radial-gradient(circle at 20% 20%, rgba(253, 171, 0, 0.18) 0%, transparent 45%),
		radial-gradient(circle at 80% 80%, rgba(255, 224, 138, 0.10) 0%, transparent 45%),
		linear-gradient(135deg, #1a2332 0%, #2c3e50 40%, #3F536E 100%);
	overflow: hidden;
}

/* Subtle texture grain — adds editorial depth without dominating */
.polca-contact-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 40%),
		radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
	pointer-events: none;
	z-index: 1;
}

/* Sylwia portrait — anchored to bottom-right, faded backdrop.
   Mask gradient softens left + top edges so it emerges from the
   navy gradient rather than sitting on top of it as a hard rectangle. */
.polca-contact-hero__portrait {
	position: absolute;
	right: 0;
	bottom: 0;
	height: 90%;
	max-height: 540px;
	width: auto;
	max-width: 42%;
	object-fit: contain;
	object-position: bottom right;
	opacity: 0.55;
	filter: saturate(0.85) contrast(0.95);
	mix-blend-mode: luminosity;
	pointer-events: none;
	user-select: none;
	z-index: 0;
	-webkit-mask-image: linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.4) 25%, #000 60%);
	mask-image: linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.4) 25%, #000 60%);
}

.polca-contact-hero__inner {
	position: relative;
	max-width: 720px;
	margin: 0 auto;
	z-index: 2;
}

.polca-contact-hero__heading {
	margin: 0 0 32px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(56px, 9vw, 120px);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -1.5px;
	color: #ffffff;
	text-shadow: 0 2px 28px rgba(0, 0, 0, 0.4);
}

.polca-contact-hero__intro {
	margin: 0 auto;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(20px, 2.2vw, 32px);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.95);
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
	max-width: 920px;
}

/* High specificity + !important to beat Hello Elementor theme global anchor color */
.polca-contact-page .polca-contact-hero .polca-contact-hero__intro a,
.polca-contact-hero__intro a {
	color: #FFE08A !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	border-bottom: 2px solid rgba(255, 224, 138, 0.7) !important;
	padding-bottom: 1px !important;
	transition: border-color 220ms cubic-bezier(.4, 0, .2, 1), color 220ms cubic-bezier(.4, 0, .2, 1) !important;
}

.polca-contact-page .polca-contact-hero .polca-contact-hero__intro a:hover,
.polca-contact-page .polca-contact-hero .polca-contact-hero__intro a:focus,
.polca-contact-hero__intro a:hover,
.polca-contact-hero__intro a:focus {
	color: #FDAB00 !important;
	border-bottom-color: #FDAB00 !important;
}

/* ============================================================
   2. LAYOUT — 2-col grid (text left, sticky form right) overlapping hero
   ============================================================ */

/* Layout container — no negative top margin (form gets its own overlap). */
.polca-contact-layout {
	position: relative;
	max-width: 1600px;
	margin: 0 auto 120px;
	padding: 0 32px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 520px;
	gap: 80px;
	align-items: start;
	z-index: 2;
	overflow: visible;
}

/* Ancestors must allow sticky descendants. Defensive overrides — some
   WordPress themes (Hello Elementor + Elementor wrappers) silently apply
   overflow: hidden on `.entry-content` / `.elementor-section`, which kills
   `position: sticky` on any child. Force visible on our own section + on
   the WP content wrapper for /contact/ specifically. */
.polca-contact-page {
	overflow: visible !important;
}

.polca-contact-form-wrap {
	position: relative;
	padding: 48px 48px 40px;
	background: #ffffff;
	border-radius: 24px;
	box-shadow:
		0 1px 2px rgba(63, 83, 110, 0.04),
		0 8px 16px rgba(63, 83, 110, 0.06),
		0 24px 48px rgba(63, 83, 110, 0.12);
}

/* Only the form overlaps the hero (text content stays in normal flow below hero). */
.polca-contact-layout > .polca-contact-form-wrap {
	margin-top: -80px;
	position: sticky;
	top: 100px;
	align-self: start;
}

/* ============================================================
   2b. LEFT COLUMN — content (intro + pillars + exam paths + schools + signoff)
   ============================================================ */

.polca-contact-content {
	font-family: Georgia, "Times New Roman", serif;
	color: #3F536E;
	padding-top: 64px;
	min-width: 0;
}

/* Paragraph-level max-widths so body text stays readable even when the content
   column grows wide on big screens; cards / pillars / lists fill the full column. */
.polca-contact-content__heading,
.polca-contact-content__lead,
.polca-contact-content__body,
.polca-contact-content__signoff {
	max-width: 760px;
}

.polca-contact-content__heading {
	margin: 0 0 16px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(26px, 2.4vw, 32px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.3px;
	color: #3F536E;
}

.polca-contact-content__heading em {
	font-style: italic;
	font-weight: 400;
	color: #FDAB00;
}

.polca-contact-content__lead {
	margin: 0 0 36px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 17px;
	line-height: 1.7;
	color: #3F536E;
}

/* Pillars — numbered orange-badge cards, matching /collaboration/ aesthetic */
.polca-contact-pillars {
	list-style: none;
	margin: 0 0 40px;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.polca-contact-pillar {
	position: relative;
	background: linear-gradient(180deg, #FFFCF2 0%, #FFFFFF 100%);
	border: 1px solid rgba(253, 171, 0, 0.18);
	border-left: 3px solid #FDAB00;
	border-radius: 10px;
	padding: 22px 22px 22px 62px;
}

.polca-contact-pillar__number {
	position: absolute;
	left: 16px;
	top: 22px;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #FFE08A 0%, #FDAB00 100%);
	color: #ffffff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 14px;
	font-weight: 700;
	border-radius: 50%;
	box-shadow:
		0 2px 6px rgba(253, 171, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.polca-contact-pillar__title {
	margin: 0 0 6px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 16px;
	font-weight: 700;
	color: #3F536E;
	line-height: 1.3;
}

.polca-contact-pillar__body {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 14px;
	line-height: 1.55;
	color: rgba(63, 83, 110, 0.85);
}

/* Subheadings shared across exam + schools sections */
.polca-contact-content__subheading {
	margin: 0 0 14px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(20px, 1.8vw, 24px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.2px;
	color: #3F536E;
}

.polca-contact-content__subheading em {
	font-style: italic;
	font-weight: 400;
	color: #FDAB00;
}

.polca-contact-content__body {
	margin: 0 0 16px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 16px;
	line-height: 1.65;
	color: #3F536E;
}

.polca-contact-content__body a {
	color: #3F536E;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: #FDAB00;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	transition: color 200ms ease;
}

.polca-contact-content__body a:hover,
.polca-contact-content__body a:focus {
	color: #FDAB00;
}

.polca-contact-content__exams {
	margin-bottom: 36px;
}

/* Leaving Cert paths — list with orange arrow + internal links */
.polca-contact-content__paths {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
}

.polca-contact-content__paths li {
	position: relative;
	padding: 14px 0 14px 28px;
	border-bottom: 1px solid rgba(63, 83, 110, 0.10);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 15px;
	line-height: 1.6;
	color: #3F536E;
}

.polca-contact-content__paths li:last-child {
	border-bottom: none;
}

.polca-contact-content__paths li::before {
	content: "→";
	position: absolute;
	left: 0;
	top: 14px;
	color: #FDAB00;
	font-weight: 700;
	font-family: Georgia, "Times New Roman", serif;
}

.polca-contact-content__paths a {
	color: #3F536E;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: #FDAB00;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	margin-right: 4px;
	transition: color 200ms ease;
}

.polca-contact-content__paths a:hover,
.polca-contact-content__paths a:focus {
	color: #FDAB00;
}

.polca-contact-content__paths span {
	color: rgba(63, 83, 110, 0.85);
}

/* Schools card — same cream-tinted treatment as pillars */
.polca-contact-content__schools {
	margin: 0 0 36px;
	padding: 24px 26px;
	background: linear-gradient(180deg, #FFFCF2 0%, #FFFFFF 100%);
	border: 1px solid rgba(253, 171, 0, 0.18);
	border-left: 3px solid #FDAB00;
	border-radius: 10px;
}

.polca-contact-content__schools .polca-contact-content__subheading {
	margin-bottom: 8px;
}

.polca-contact-content__schools .polca-contact-content__body {
	margin: 0;
	font-size: 15px;
}

.polca-contact-content__schools a {
	color: #3F536E;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: #FDAB00;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	transition: color 200ms ease;
}

.polca-contact-content__schools a:hover {
	color: #FDAB00;
}

/* Signoff — hairline + personal note + italic Sylwia */
.polca-contact-content__signoff {
	margin: 0;
	padding: 24px 0 0;
	border-top: 1px solid rgba(63, 83, 110, 0.12);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 14px;
	line-height: 1.6;
	color: rgba(63, 83, 110, 0.72);
}

.polca-contact-content__signoff em {
	font-style: italic;
	color: #3F536E;
	font-size: 15px;
}

.polca-contact-content__signoff-name {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 28px;
	font-style: italic;
	font-weight: 400;
	color: #FDAB00;
	margin-left: 6px;
	display: inline-block;
	vertical-align: middle;
}

/* ============================================================
   3. Form layout
   ============================================================ */

.polca-contact-form {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.polca-contact-row--two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.polca-contact-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* ============================================================
   4. Labels
   ============================================================ */

.polca-contact-label,
.polca-contact-field label {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 14px;
	font-weight: 700;
	color: #3F536E;
	letter-spacing: 0.2px;
}

.polca-contact-required {
	margin-left: 2px;
	color: #FDAB00;
	font-weight: 700;
}

/* ============================================================
   5. Inputs / Select / Textarea
   ============================================================ */

.polca-contact-form input[type="text"],
.polca-contact-form input[type="email"],
.polca-contact-form select,
.polca-contact-form textarea {
	width: 100%;
	padding: 16px 18px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 16px; /* iOS auto-zoom prevention */
	line-height: 1.5;
	color: #3F536E;
	background: #FAFAF8;
	border: 1.5px solid transparent;
	border-radius: 12px;
	box-shadow: inset 0 0 0 1px rgba(63, 83, 110, 0.10);
	transition:
		background 220ms cubic-bezier(.4, 0, .2, 1),
		border-color 220ms cubic-bezier(.4, 0, .2, 1),
		box-shadow 220ms cubic-bezier(.4, 0, .2, 1);
	-webkit-appearance: none;
	appearance: none;
}

.polca-contact-form textarea {
	resize: vertical;
	min-height: 160px;
	font-family: Georgia, "Times New Roman", serif;
}

/* Select arrow — custom caret because we strip native appearance */
.polca-contact-form select {
	padding-right: 48px;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%233F536E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 18px center;
	cursor: pointer;
}

/* Focus state */
.polca-contact-form input:focus,
.polca-contact-form select:focus,
.polca-contact-form textarea:focus {
	outline: none;
	background: #ffffff;
	border-color: #FDAB00;
	box-shadow:
		inset 0 0 0 1px rgba(253, 171, 0, 0.2),
		0 0 0 4px rgba(253, 171, 0, 0.15);
}

/* Hover state (non-focus) */
.polca-contact-form input:hover:not(:focus),
.polca-contact-form select:hover:not(:focus),
.polca-contact-form textarea:hover:not(:focus) {
	background: #ffffff;
	box-shadow: inset 0 0 0 1px rgba(63, 83, 110, 0.18);
}

/* Invalid state */
.polca-contact-form [aria-invalid="true"] {
	background: #fef2f2;
	border-color: #DC2626;
	box-shadow: inset 0 0 0 1px rgba(220, 38, 38, 0.3);
}

.polca-contact-form [aria-invalid="true"]:focus {
	background: #ffffff;
	box-shadow:
		inset 0 0 0 1px rgba(220, 38, 38, 0.4),
		0 0 0 4px rgba(220, 38, 38, 0.15);
}

/* Placeholder color */
.polca-contact-form input::placeholder,
.polca-contact-form textarea::placeholder {
	color: rgba(63, 83, 110, 0.45);
}

/* Per-field error message */
.polca-contact-fielderr {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 13px;
	font-weight: 500;
	color: #DC2626;
	line-height: 1.4;
	padding-left: 4px;
}

/* ============================================================
   6. Honeypot — off-screen, NOT display:none (bots check that)
   ============================================================ */

.polca-contact-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	pointer-events: none;
}

/* ============================================================
   7. Consent checkbox
   ============================================================ */

.polca-contact-field--consent {
	gap: 4px;
}

.polca-contact-consent {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	color: #3F536E;
	cursor: pointer;
	padding: 16px 18px;
	background: #FAFAF8;
	border-radius: 12px;
	box-shadow: inset 0 0 0 1px rgba(63, 83, 110, 0.08);
	transition: background 220ms cubic-bezier(.4, 0, .2, 1);
}

.polca-contact-consent:hover {
	background: #f5f5f0;
}

.polca-contact-consent input[type="checkbox"] {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin: 2px 0 0 0;
	accent-color: #FDAB00;
	cursor: pointer;
}

.polca-contact-consent a {
	color: #3F536E;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: rgba(253, 171, 0, 0.5);
	text-underline-offset: 3px;
	text-decoration-thickness: 2px;
	transition: text-decoration-color 220ms cubic-bezier(.4, 0, .2, 1);
}

.polca-contact-consent a:hover {
	text-decoration-color: #FDAB00;
}

/* ============================================================
   8. Submit button
   ============================================================ */

.polca-contact-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	margin-top: 8px;
	padding: 20px 40px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.3px;
	color: #000000 !important;
	background: linear-gradient(135deg, #FFE08A 0%, #FDAB00 100%);
	border: none;
	border-radius: 14px;
	cursor: pointer;
	box-shadow:
		0 1px 2px rgba(253, 171, 0, 0.10),
		0 4px 12px rgba(253, 171, 0, 0.25),
		inset 0 1px 0 rgba(255, 255, 255, 0.3);
	transition:
		transform 220ms cubic-bezier(.4, 0, .2, 1),
		box-shadow 220ms cubic-bezier(.4, 0, .2, 1);
}

.polca-contact-submit:hover:not(:disabled),
.polca-contact-submit:focus:not(:disabled),
.polca-contact-submit:active:not(:disabled) {
	color: #000000 !important;
}

.polca-contact-submit:hover:not(:disabled) {
	transform: translateY(-2px);
	box-shadow:
		0 2px 4px rgba(253, 171, 0, 0.15),
		0 12px 28px rgba(253, 171, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.polca-contact-submit:active:not(:disabled) {
	transform: translateY(0);
	box-shadow:
		0 1px 2px rgba(253, 171, 0, 0.20),
		0 2px 6px rgba(253, 171, 0, 0.25),
		inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.polca-contact-submit:focus-visible {
	outline: none;
	box-shadow:
		0 0 0 4px rgba(253, 171, 0, 0.25),
		0 4px 12px rgba(253, 171, 0, 0.25);
}

.polca-contact-submit:disabled {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
	box-shadow: 0 1px 2px rgba(253, 171, 0, 0.10);
}

/* Spinner */
.polca-contact-submit__spinner {
	width: 18px;
	height: 18px;
	border: 2.5px solid rgba(0, 0, 0, 0.25);
	border-top-color: #000000;
	border-radius: 50%;
	animation: polca-spin 0.7s linear infinite;
}

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

/* ============================================================
   9. Status message (server returns)
   ============================================================ */

.polca-contact-form-status {
	min-height: 1.4em;
	margin: -8px 0 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 14px;
	line-height: 1.5;
	color: #DC2626;
	text-align: center;
}

.polca-contact-form-status.is-info {
	color: #3F536E;
}

/* ============================================================
   10. Success state
   ============================================================ */

.polca-contact-success {
	padding: 64px 40px;
	text-align: center;
	background:
		radial-gradient(circle at top, rgba(255, 224, 138, 0.4) 0%, transparent 60%),
		#FFF8E1;
	border-radius: 20px;
	box-shadow: inset 0 0 0 1px rgba(253, 171, 0, 0.2);
	font-family: Georgia, "Times New Roman", serif;
	color: #3F536E;
}

.polca-contact-success__icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #FFE08A 0%, #FDAB00 100%);
	color: #ffffff;
	font-size: 32px;
	font-weight: 700;
	border-radius: 50%;
	box-shadow:
		0 4px 12px rgba(253, 171, 0, 0.3),
		inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.polca-contact-success__heading,
.polca-contact-success h2 {
	margin: 0 0 12px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 28px;
	font-weight: 700;
	color: #3F536E;
	letter-spacing: -0.3px;
}

.polca-contact-success__message,
.polca-contact-success p {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 16px;
	line-height: 1.65;
	color: #3F536E;
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
}

/* ============================================================
   11. Mobile responsive (≤640px)
   ============================================================ */

@media (max-width: 1440px) {
	.polca-contact-layout {
		gap: 56px;
	}
}

@media (max-width: 1280px) {
	.polca-contact-layout {
		grid-template-columns: minmax(0, 1fr) 480px;
		gap: 40px;
		padding: 0 24px;
	}
}

@media (max-width: 1024px) {
	.polca-contact-hero__portrait {
		max-width: 38%;
		opacity: 0.45;
	}
	/* Single column on tablet — form FIRST (per user spec), content below.
	   No hero overlap when stacked: bigger hero typography from v0.4.4 makes
	   the overlap cover the intro paragraph. Form sits cleanly below hero. */
	.polca-contact-layout {
		grid-template-columns: 1fr;
		gap: 48px;
		max-width: 720px;
		margin: 40px auto 80px;
	}
	.polca-contact-layout > .polca-contact-form-wrap {
		position: static;
		top: auto;
		margin-top: 0;
		order: 0;
	}
	.polca-contact-content {
		order: 1;
		padding-top: 0;
	}
	.polca-contact-pillars {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	.polca-contact-hero {
		margin-top: -70px;
		padding: 150px 20px 110px;
	}
	.polca-contact-hero__portrait {
		height: 75%;
		max-height: 380px;
		max-width: 45%;
		opacity: 0.35;
	}
	.polca-contact-form-wrap {
		padding: 36px 28px;
		border-radius: 20px;
	}
}

@media (max-width: 640px) {
	.polca-contact-hero {
		margin-top: -70px;
		padding: 130px 20px 100px;
	}
	.polca-contact-hero__heading {
		letter-spacing: -0.8px;
		line-height: 1.05;
	}
	.polca-contact-hero__intro {
		font-size: 19px;
		line-height: 1.6;
	}
	.polca-contact-hero__portrait {
		height: 80%;
		max-height: 380px;
		max-width: 78%;
		opacity: 0.14;
		right: auto;
		left: 50%;
		transform: translateX(-50%);
		object-position: bottom center;
		/* Vertical fade — portrait emerges from bottom, dissolves into gradient */
		-webkit-mask-image: linear-gradient(to top, #000 45%, transparent 95%);
		mask-image: linear-gradient(to top, #000 45%, transparent 95%);
	}
	.polca-contact-layout {
		margin: 32px auto 60px;
		padding: 0 12px;
		gap: 36px;
	}
	.polca-contact-form-wrap {
		padding: 28px 22px;
	}
	.polca-contact-form {
		gap: 22px;
	}
	.polca-contact-row--two {
		grid-template-columns: 1fr;
		gap: 22px;
	}
	.polca-contact-submit {
		padding: 18px 28px;
	}
	.polca-contact-success {
		padding: 48px 24px;
	}
	.polca-contact-content__heading {
		font-size: 24px;
	}
	.polca-contact-content__lead {
		font-size: 16px;
		margin-bottom: 28px;
	}
	.polca-contact-pillars {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.polca-contact-pillar {
		padding: 18px 18px 18px 58px;
	}
	.polca-contact-pillar__number {
		left: 14px;
		top: 18px;
	}
	.polca-contact-content__schools {
		padding: 20px 22px;
	}
	.polca-contact-content__signoff-name {
		font-size: 24px;
	}
}

@media (max-width: 420px) {
	.polca-contact-hero__portrait {
		max-width: 92%;
		opacity: 0.11;
	}
}

/* ============================================================
   12. Awards section — bottom-of-page recognition strip
   ============================================================ */

.polca-contact-awards {
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 100px 24px 110px;
	background:
		radial-gradient(circle at 80% 20%, rgba(255, 224, 138, 0.20) 0%, transparent 50%),
		radial-gradient(circle at 20% 80%, rgba(253, 171, 0, 0.12) 0%, transparent 50%),
		linear-gradient(180deg, #ffffff 0%, #FFFCF2 100%);
	text-align: center;
	font-family: Georgia, "Times New Roman", serif;
	color: #3F536E;
	overflow: hidden;
}

.polca-contact-awards__eyebrow {
	margin: 0 0 16px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #FDAB00;
}

.polca-contact-awards__heading {
	margin: 0 0 56px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.5px;
	color: #3F536E;
}

.polca-contact-awards__heading em {
	font-style: italic;
	font-weight: 400;
	color: #FDAB00;
}

.polca-contact-awards__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
	align-items: center;
}

.polca-contact-awards__item {
	margin: 0;
	padding: 0;
	transition: transform 280ms cubic-bezier(.4, 0, .2, 1);
}

.polca-contact-awards__item:hover {
	transform: translateY(-6px);
}

.polca-contact-awards__item img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 360px;
	margin: 0 auto;
	filter: drop-shadow(0 8px 24px rgba(63, 83, 110, 0.12));
}

@media (max-width: 900px) {
	.polca-contact-awards {
		padding: 70px 20px 80px;
	}
	.polca-contact-awards__grid {
		grid-template-columns: 1fr;
		gap: 36px;
		max-width: 420px;
	}
	.polca-contact-awards__heading {
		margin-bottom: 40px;
	}
}

@media (max-width: 640px) {
	.polca-contact-awards {
		padding: 56px 16px 64px;
	}
	.polca-contact-awards__eyebrow {
		font-size: 12px;
		letter-spacing: 2.5px;
	}
}

/* ============================================================
   13. Hide Hello Elementor theme page title above our hero
   ============================================================ */

.entry-title,
.page-header,
header.entry-header {
	display: none !important;
}
