/**
 * Contact page (page ID 51).
 *
 * Every rule is scoped to `.ctc`, a CSS class applied to each top-level
 * section of this page from Elementor > Advanced > CSS Classes. Nothing here
 * can reach the header, the footer, the homepage, the About page or any other
 * page.
 *
 * Colours, radii and spacing come from the active Novamira design
 * "Prongon Store". Dials: variance 0.35 (composed) - density 0.5 - motion 0.15.
 */

/* ------------------------------------------------------------------
   Tokens
   ------------------------------------------------------------------ */
.ctc {
	--ctc-bg: #F5F6F8;
	--ctc-surface: #FFFFFF;
	--ctc-ink: #16181D;
	--ctc-muted: #5B616E;
	--ctc-accent: #1877F2;
	--ctc-accent-deep: #0F62D6;
	--ctc-on-accent: #FFFFFF;
	--ctc-border: #E6E8ED;
	--ctc-card: rgba(24, 119, 242, 0.09);
	--ctc-card-line: rgba(24, 119, 242, 0.16);
	--ctc-panel: rgba(24, 119, 242, 0.13);
	--ctc-r-sm: 8px;
	--ctc-r-md: 12px;
	--ctc-r-lg: 16px;
	--ctc-shadow: 0 1px 2px rgba(24, 119, 242, 0.05), 0 12px 32px rgba(24, 119, 242, 0.08);
	--ctc-shadow-img: 0 2px 4px rgba(24, 119, 242, 0.05), 0 20px 46px rgba(24, 119, 242, 0.10);

	/* WPForms Lite is themed through its own custom properties rather than
	   by fighting its selectors. */
	--wpforms-field-border-radius: 12px;
	--wpforms-field-border-style: solid;
	--wpforms-field-border-size: 1px;
	--wpforms-field-border-color: #E6E8ED;
	--wpforms-field-background-color: #FFFFFF;
	--wpforms-field-text-color: #16181D;
	--wpforms-label-color: #16181D;
	--wpforms-label-sublabel-color: #5B616E;
	--wpforms-label-error-color: #B3261E;
	--wpforms-button-border-radius: 12px;
	--wpforms-button-border-style: none;
	--wpforms-button-background-color: #0F62D6;
	--wpforms-button-border-color: #0F62D6;
	--wpforms-button-text-color: #FFFFFF;
	--wpforms-field-size-input-height: 50px;
	--wpforms-field-size-font-size: 15px;
	--wpforms-field-size-line-height: 22px;
	--wpforms-field-size-padding-h: 14px;
	--wpforms-field-size-input-spacing: 14px;

	background: var(--ctc-bg);
	color: var(--ctc-ink);
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
}

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

/* Elementor caps the inner container at 1140px; this page owns its measure
   the same way assets/home.css does for the homepage. */
.ctc.elementor-section {
	padding: 0;
}

.elementor-51 .ctc.elementor-section.elementor-section-boxed > .elementor-container {
	max-width: 100%;
	width: 100%;
	margin-inline: auto;
	padding-inline: 30px;
}

.ctc .elementor-column,
.ctc .elementor-column > .elementor-widget-wrap,
.ctc .elementor-widget-container {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.ctc-wrap {
	width: 100%;
	max-width: 1320px;
	margin-inline: auto;
}

.ctc-sec {
	padding: 26px 0;
}

.ctc-sec--top {
	padding-top: 44px;
}

.ctc-sec--last {
	padding-bottom: 48px;
}

/* ------------------------------------------------------------------
   Type
   ------------------------------------------------------------------ */
.ctc h1,
.ctc h2 {
	margin: 0;
	font-weight: 700;
	color: var(--ctc-ink);
}

.ctc p {
	margin: 0;
	color: var(--ctc-muted);
}

.ctc img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* ------------------------------------------------------------------
   Top row: hero copy | collage | form
   ------------------------------------------------------------------ */
.ctc-top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr) minmax(0, 0.92fr);
	gap: 28px;
	align-items: start;
}

.ctc-eyebrow {
	display: block;
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ctc-accent-deep);
}

.ctc-hero__title {
	font-size: clamp(32px, 3.6vw, 46px);
	line-height: 1.08;
	letter-spacing: -0.03em;
	margin: 0 0 18px;
	text-wrap: balance;
}

.ctc-hero__sub {
	font-size: 16.5px;
	line-height: 1.7;
	max-width: 38ch;
	margin: 0 0 26px;
}

/* The reference sets this line in a script face. The site's design system
   runs one family, so it is set in Plus Jakarta Sans instead: accent colour,
   italic, with the swash the reference draws as an accent rule. */
.ctc-hero__sign {
	position: relative;
	display: inline-block;
	margin: 0;
	padding-bottom: 12px;
	font-size: 26px;
	font-style: italic;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--ctc-accent);
}

.ctc-hero__sign::after {
	content: "";
	position: absolute;
	left: 0;
	right: 26%;
	bottom: 2px;
	height: 3px;
	border-radius: 2px;
	background: var(--ctc-accent);
	transform: rotate(-1.4deg);
}

/* ---- collage ---- */
.ctc-art {
	position: relative;
	padding: 0 0 34px 52px;
}

.ctc-art__panel {
	position: absolute;
	top: 34px;
	right: 52px;
	bottom: 0;
	left: 0;
	background: var(--ctc-panel);
	border-radius: var(--ctc-r-lg);
}

.ctc-art__main {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--ctc-r-lg);
	border: 1px solid var(--ctc-border);
	box-shadow: var(--ctc-shadow-img);
}

.ctc-art__chip {
	position: absolute;
	width: clamp(92px, 8.4vw, 150px);
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--ctc-r-md);
	border: 4px solid var(--ctc-surface);
	box-shadow: 0 2px 4px rgba(24, 119, 242, 0.06), 0 16px 34px rgba(24, 119, 242, 0.12);
}

.ctc-art__chip--a {
	top: -16px;
	right: 0;
}

.ctc-art__chip--b {
	bottom: 10px;
	left: 22px;
}

/* ------------------------------------------------------------------
   Cards
   ------------------------------------------------------------------ */
.ctc-card {
	background: var(--ctc-card);
	border: 1px solid var(--ctc-card-line);
	border-radius: var(--ctc-r-lg);
	box-shadow: var(--ctc-shadow);
	padding: 28px 26px;
}

.ctc-card__title {
	font-size: 22px;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

/* Kadence sets its own heading margins; this scope keeps the gap under the
   card titles, which the social row sits directly against. */
.ctc .ctc-card .ctc-card__title {
	margin: 0 0 22px;
}

.ctc .ctc-card--form .ctc-card__title {
	margin-bottom: 20px;
}

/* ------------------------------------------------------------------
   Contact form (WPForms Lite)
   ------------------------------------------------------------------ */
.ctc .wpforms-container {
	margin: 0;
}

.ctc #wpforms-62 .wpforms-field-container {
	display: block;
}

/* The reference shows the field name as the placeholder. The real label
   stays in the DOM and stays bound to its input for screen readers. */
.ctc #wpforms-62 .wpforms-field label.wpforms-field-label {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.ctc #wpforms-62 .wpforms-field {
	position: relative;
	margin: 0 0 14px;
	padding: 0;
}

.ctc #wpforms-62 .wpforms-field input[type="text"],
.ctc #wpforms-62 .wpforms-field input[type="email"],
.ctc #wpforms-62 .wpforms-field textarea {
	width: 100%;
	margin: 0;
	padding-left: 44px;
	border: 1px solid var(--ctc-border);
	border-radius: var(--ctc-r-md);
	background-color: var(--ctc-surface);
	background-repeat: no-repeat;
	background-position: 14px center;
	background-size: 18px 18px;
	color: var(--ctc-ink);
	font-family: inherit;
	font-size: 15px;
	box-shadow: none;
	transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.ctc #wpforms-62 .wpforms-field input::placeholder,
.ctc #wpforms-62 .wpforms-field textarea::placeholder {
	color: var(--ctc-muted);
	opacity: 1;
}

.ctc #wpforms-62 .wpforms-field input:focus,
.ctc #wpforms-62 .wpforms-field textarea:focus {
	outline: none;
	border-color: var(--ctc-accent);
	box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.16);
}

.ctc #wpforms-62 .wpforms-field textarea.wpforms-field-large {
	height: auto;
	min-height: 112px;
	line-height: 1.6;
	background-position: 14px 16px;
}

.ctc #wpforms-62 .wpforms-field-name input[type="text"] {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F62D6' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}

.ctc #wpforms-62 .wpforms-field-email input[type="email"] {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F62D6' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E");
}

.ctc #wpforms-62 .wpforms-field-text input[type="text"] {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F62D6' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E");
}

.ctc #wpforms-62 .wpforms-field-textarea textarea {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F62D6' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z'/%3E%3C/svg%3E");
}
.ctc #wpforms-62 .wpforms-submit-container {
	margin-top: 16px;
}

.ctc #wpforms-62 .wpforms-form .wpforms-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	height: 52px;
	padding: 0 22px;
	border: 0;
	border-radius: var(--ctc-r-md);
	background: var(--ctc-accent-deep);
	color: var(--ctc-on-accent);
	font-family: inherit;
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: transform 0.16s ease;
}

.ctc #wpforms-62 .wpforms-form .wpforms-submit::before {
	content: "";
	width: 17px;
	height: 17px;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2 11 13'/%3E%3Cpath d='M22 2l-7 20-4-9-9-4 20-7z'/%3E%3C/svg%3E");
}

.ctc #wpforms-62 .wpforms-form .wpforms-submit:hover {
	transform: translateY(-1px);
}

.ctc #wpforms-62 .wpforms-form .wpforms-submit:focus-visible {
	outline: 2px solid var(--ctc-accent-deep);
	outline-offset: 3px;
}

.ctc #wpforms-62 .wpforms-field .wpforms-error,
.ctc #wpforms-62 .wpforms-error-alert {
	color: #B3261E;
	font-size: 13px;
	line-height: 1.45;
}

.ctc #wpforms-62 .wpforms-field .wpforms-error {
	display: block;
	margin-top: 6px;
}

.ctc #wpforms-62 .wpforms-success {
	margin-top: 16px;
	padding: 14px 16px;
	border: 1px solid var(--ctc-card-line);
	border-left: 3px solid var(--ctc-accent);
	border-radius: var(--ctc-r-sm);
	background: var(--ctc-surface);
	color: var(--ctc-ink);
	font-size: 14.5px;
	line-height: 1.55;
}

.ctc #wpforms-62 .wpforms-error-container,
.ctc #wpforms-62 .wpforms-error-alert {
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 1px solid #B3261E;
	border-radius: var(--ctc-r-sm);
	background: var(--ctc-surface);
	color: #B3261E;
	font-size: 14px;
	line-height: 1.5;
}

/* ------------------------------------------------------------------
   Contact details
   ------------------------------------------------------------------ */
.ctc-row {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: 26px;
	align-items: stretch;
}

.ctc-info {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.ctc-info__item {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
}

.ctc-info__ico {
	display: grid;
	place-items: center;
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--ctc-surface);
	border: 1px solid var(--ctc-card-line);
	color: var(--ctc-accent-deep);
}

.ctc-info__ico svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ctc-info__label {
	display: block;
	margin-bottom: 2px;
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ctc-ink);
}

.ctc-info__value {
	display: block;
	font-size: 15px;
	line-height: 1.45;
	color: var(--ctc-muted);
	text-decoration: none;
	overflow-wrap: anywhere;
}

a.ctc-info__value:hover,
a.ctc-info__value:focus-visible {
	color: var(--ctc-accent-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ------------------------------------------------------------------
   Connect With Us
   ------------------------------------------------------------------ */
.ctc-social {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.ctc-social__link {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
	text-decoration: none;
	color: inherit;
	border-radius: var(--ctc-r-md);
	transition: transform 0.16s ease;
}

/* Without this the text block shrink-wraps to the URL's own width and the
   three columns overlap. */
.ctc-social__link > span:last-child {
	width: 100%;
	min-width: 0;
}

.ctc-social__link:hover,
.ctc-social__link:focus-visible {
	transform: translateY(-2px);
}

.ctc-social__ico {
	display: grid;
	place-items: center;
	/* Without this the circle is a shrinkable flex item: in the stacked
	   mobile row it compresses to an oval. */
	flex: none;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--ctc-accent-deep);
	color: var(--ctc-on-accent);
}

.ctc-social__ico svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.ctc-social__name {
	display: block;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ctc-ink);
}

/* The tile is the link, so the raw URL is kept for screen readers only. */
.ctc-social__url {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* ------------------------------------------------------------------
   Thank-you bar
   ------------------------------------------------------------------ */
.ctc-thanks {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 26px 30px;
	background: var(--ctc-card);
	border: 1px solid var(--ctc-card-line);
	border-radius: var(--ctc-r-lg);
	box-shadow: var(--ctc-shadow);
}

.ctc-thanks__ico {
	flex: none;
	color: var(--ctc-accent-deep);
}

.ctc-thanks__ico svg {
	width: 46px;
	height: 46px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ctc-thanks__body {
	padding-left: 24px;
	border-left: 2px solid var(--ctc-card-line);
}

.ctc-thanks__title {
	font-size: 24px;
	font-style: italic;
	line-height: 1.25;
	letter-spacing: -0.01em;
	margin: 0 0 6px;
	color: var(--ctc-accent-deep);
}

.ctc-thanks__sub {
	font-size: 15.5px;
	line-height: 1.55;
}

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

   Collapse map
   - top row   : hero | collage | form until 1180px, then hero | collage
                 with the form spanning the full width
   - details   : info | social until 980px, then stacked
   - social    : three across until 760px, then stacked
   ------------------------------------------------------------------ */
@media (max-width: 1180px) {
	.ctc-top {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 32px;
	}

	.ctc-card--form {
		grid-column: 1 / -1;
	}

	.ctc-art {
		max-width: 460px;
	}
}

@media (max-width: 980px) {
	.ctc-sec--top {
		padding-top: 36px;
	}

	.ctc-row {
		grid-template-columns: minmax(0, 1fr);
	}

	.ctc-card {
		padding: 26px 22px;
	}
}

@media (max-width: 760px) {
	.ctc-top {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
	}

	.ctc-hero__sub {
		max-width: 46ch;
	}

	.ctc-social {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.ctc-social__link {
		flex-direction: row;
		align-items: center;
		gap: 16px;
	}
}

@media (max-width: 620px) {
	.elementor-51 .ctc.elementor-section.elementor-section-boxed > .elementor-container {
		padding-inline: 16px;
	}

	.ctc-sec {
		padding: 20px 0;
	}

	.ctc-sec--top {
		padding-top: 28px;
	}

	.ctc-sec--last {
		padding-bottom: 32px;
	}

	.ctc-hero__title {
		font-size: clamp(30px, 8.6vw, 40px);
	}

	.ctc-art {
		padding: 0 0 28px 40px;
	}

	.ctc-art__panel {
		top: 28px;
		right: 40px;
	}

	.ctc-art__chip {
		width: 96px;
	}

	.ctc-art__chip--b {
		left: 14px;
	}

	.ctc-card {
		padding: 24px 20px;
	}

	.ctc-card__title {
		font-size: 20px;
	}

	.ctc-thanks {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		padding: 24px 22px;
	}

	.ctc-thanks__body {
		padding-left: 0;
		padding-top: 16px;
		border-left: 0;
		border-top: 2px solid var(--ctc-card-line);
	}

	.ctc-thanks__title {
		font-size: 21px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ctc-social__link,
	.ctc #wpforms-62 .wpforms-form .wpforms-submit,
	.ctc #wpforms-62 .wpforms-field input,
	.ctc #wpforms-62 .wpforms-field textarea {
		transition: none;
	}
}