/**
 * ZeltaCode Contact — front-end styles.
 *
 * Type stack: Inter Tight for headings, Space Grotesk for the small uppercase
 * field labels, Inter for everything else.
 */

.zcct,
.zcct-aside {
	--zcct-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--zcct-font-display: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--zcct-font-label: 'Space Grotesk', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--zcct-line: rgba( 255, 255, 255, 0.11 );
	--zcct-panel-line: rgba( 255, 255, 255, 0.2 );
	--zcct-input-bg: #141416;
	--zcct-input-fg: #ededed;
	--zcct-input-line: rgba( 255, 255, 255, 0.11 );
	--zcct-input-radius: 8px;
	--zcct-accent: #5e9eff;
	--zcct-err: #e5544b;
	--zcct-node: #ff8a4c;
	--zcct-sheen: rgba( 0, 0, 0, 0.14 );

	font-family: var( --zcct-font-body );
}

/**
 * The panels are included here, not just their descendants. Themes without a
 * global reset leave them content-box, and then padding sits outside the
 * height — which throws off both the equal-height maths and any height the
 * user sets in Elementor.
 */
.zcct,
.zcct *,
.zcct *::before,
.zcct *::after,
.zcct-aside,
.zcct-aside *,
.zcct-aside *::before,
.zcct-aside *::after {
	box-sizing: border-box;
}

/* ------------------------------------------------------------------ */
/* Equal heights                                                       */
/* ------------------------------------------------------------------ */

/**
 * The two cards always match height because each one stretches to fill its
 * column, and the columns are already the same height.
 *
 * Note there is deliberately no `height: 100%` on the panels. That is the
 * obvious way to write this and it actively breaks it: the grid/flex row is
 * sized by its content, so a percentage height has nothing definite to resolve
 * against and computes to `auto` — and because an explicit height is now set,
 * `align-self: stretch` stops applying and the shorter card keeps its own
 * height. Stretch alone does the job, provided every wrapper between the
 * column and the panel passes the height down, which is what these rules do:
 * Elementor puts .elementor-widget > .elementor-widget-container in the way.
 */
.elementor-widget-zcct_form,
.elementor-widget-zcct_aside {
	align-self: stretch;
	display: flex;
	flex-direction: column;
}

.elementor-widget-zcct_form > .elementor-widget-container,
.elementor-widget-zcct_aside > .elementor-widget-container {
	display: flex;
	flex: 1;
	flex-direction: column;
	width: 100%;
}

/* Legacy section/column layouts stack widgets in .elementor-widget-wrap. */
.elementor-widget-wrap > .elementor-widget-zcct_form,
.elementor-widget-wrap > .elementor-widget-zcct_aside {
	flex-grow: 1;
}

/* ------------------------------------------------------------------ */
/* Form panel                                                          */
/* ------------------------------------------------------------------ */

.zcct {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 40px;
	border: 1px solid var( --zcct-panel-line );
	border-radius: 0;
	background-color: #0c0c0e;
}

.zcct__body {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.zcct .zcct__heading {
	margin: 0;
	font-family: var( --zcct-font-display );
	font-size: 30px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.6px;
	color: #ededed;
}

.zcct .zcct__sub {
	margin: 10px 0 0;
	font-size: 15px;
	line-height: 1.55;
	color: #8a8a8a;
}

.zcct__form {
	display: flex;
	flex: 1;
	flex-direction: column;
}

/**
 * A three-track grid is what lets a row hold a half + half, a third + third +
 * third, or one full-width field without any wrapper markup per row: each
 * field just spans the right number of tracks.
 */
.zcct__fields {
	--zcct-span-100: 6;
	--zcct-span-50: 3;
	--zcct-span-33: 2;

	display: grid;
	grid-template-columns: repeat( 6, minmax( 0, 1fr ) );
	gap: 22px;
	margin-top: 32px;
}

.zcct__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	grid-column: span 6;
	min-width: 0;
}

/* ------------------------------------------------------------------ */
/* Labels and inputs                                                   */
/* ------------------------------------------------------------------ */

.zcct .zcct__label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var( --zcct-font-label );
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 1.3px;
	line-height: 1.3;
	text-transform: uppercase;
	color: #8a8a8a;
}

.zcct .zcct__opt {
	font-family: var( --zcct-font-body );
	font-size: 11px;
	letter-spacing: 0.4px;
	text-transform: none;
	color: #4e4e4e;
}

.zcct .zcct__input {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid var( --zcct-input-line );
	border-radius: var( --zcct-input-radius );
	background-color: var( --zcct-input-bg );
	color: var( --zcct-input-fg );
	font-family: var( --zcct-font-body );
	font-size: 15px;
	line-height: 1.5;
	transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
	-webkit-appearance: none;
	appearance: none;
}

.zcct .zcct__input::placeholder {
	color: #4e4e4e;
}

.zcct .zcct__input:hover {
	border-color: rgba( 255, 255, 255, 0.2 );
}

.zcct .zcct__input:focus {
	outline: none;
	border-color: var( --zcct-accent );
	box-shadow: 0 0 0 3px color-mix( in srgb, var( --zcct-accent ) 22%, transparent );
}

.zcct .zcct__textarea {
	min-height: 120px;
	resize: vertical;
}

/* The native arrow is inconsistent across platforms, so draw our own. */
.zcct select.zcct__input {
	padding-right: 40px;
	background-image: linear-gradient( 45deg, transparent 50%, #8a8a8a 50% ), linear-gradient( 135deg, #8a8a8a 50%, transparent 50% );
	background-position: calc( 100% - 20px ) calc( 50% + 2px ), calc( 100% - 14px ) calc( 50% + 2px );
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
}

.zcct .zcct__hint {
	font-size: 12.5px;
	line-height: 1.5;
	color: #4e4e4e;
}

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

.zcct .zcct__err {
	display: none;
	align-items: center;
	gap: 7px;
	font-size: 12.5px;
	line-height: 1.4;
	color: var( --zcct-err );
}

.zcct .zcct__err::before {
	content: "!";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 15px;
	height: 15px;
	border: 1px solid currentColor;
	border-radius: 50%;
	font-size: 10px;
	font-weight: 700;
}

.zcct__field.is-invalid .zcct__err {
	display: flex;
}

.zcct__field.is-invalid .zcct__input {
	border-color: var( --zcct-err );
	box-shadow: 0 0 0 3px color-mix( in srgb, var( --zcct-err ) 18%, transparent );
}

.zcct__field.is-invalid .zcct__consent {
	border-color: var( --zcct-err );
}

.zcct .zcct__formerr {
	display: none;
	margin-top: 20px;
	padding: 14px 16px;
	border: 1px solid color-mix( in srgb, var( --zcct-err ) 45%, transparent );
	border-radius: var( --zcct-input-radius );
	background-color: color-mix( in srgb, var( --zcct-err ) 8%, transparent );
	font-size: 13.5px;
	line-height: 1.5;
	color: var( --zcct-err );
}

.zcct .zcct__formerr.is-on {
	display: block;
}

/* ------------------------------------------------------------------ */
/* Consent checkbox                                                    */
/* ------------------------------------------------------------------ */

.zcct__field--consent {
	gap: 0;
}

.zcct .zcct__consent {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	padding: 18px;
	border: 1px solid var( --zcct-line );
	border-radius: var( --zcct-input-radius );
	background-color: rgba( 255, 255, 255, 0.012 );
	cursor: pointer;
}

/* Visually hidden, still focusable and still announced. */
.zcct .zcct__consent input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.zcct .zcct__box {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 19px;
	height: 19px;
	margin-top: 1px;
	border: 1.5px solid rgba( 255, 255, 255, 0.2 );
	border-radius: 5px;
	background-color: var( --zcct-input-bg );
	transition: background-color 150ms ease, border-color 150ms ease;
}

.zcct .zcct__box svg {
	width: 11px;
	height: 11px;
	fill: none;
	stroke: #000;
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: 0;
	transition: opacity 150ms ease;
}

.zcct .zcct__consent input:checked + .zcct__box {
	border-color: var( --zcct-accent );
	background-color: var( --zcct-accent );
}

.zcct .zcct__consent input:checked + .zcct__box svg {
	opacity: 1;
}

.zcct .zcct__consent input:focus-visible + .zcct__box {
	outline: 2px solid var( --zcct-accent );
	outline-offset: 3px;
}

.zcct .zcct__consenttext {
	font-size: 13.5px;
	line-height: 1.55;
	color: #8a8a8a;
}

.zcct .zcct__consentlink {
	color: var( --zcct-accent );
}

/* ------------------------------------------------------------------ */
/* Honeypot                                                            */
/* ------------------------------------------------------------------ */

/**
 * Off-screen rather than display:none — some bots skip hidden inputs, and a
 * bot that skips it is a bot we do not catch.
 */
.zcct__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

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

.zcct__submitrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	margin-top: auto;
	padding-top: 30px;
}

.zcct .zcct__submit {
	position: relative;
	overflow: hidden;
	padding: 14px 24px;
	border: 1px solid transparent;
	border-radius: 0;
	background-color: #ededed;
	color: #000;
	font-family: var( --zcct-font-display );
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.zcct .zcct__submit:hover {
	transform: translateY( -1px );
}

/**
 * Sheen — a skewed band that sweeps across on hover, matching the site's
 * .btn-primary. The band is dark because this button is light; on a dark
 * button, flip --zcct-sheen to a white at low alpha.
 */
.zcct .zcct__submit::after {
	content: "";
	position: absolute;
	top: 0;
	left: -60%;
	width: 38%;
	height: 100%;
	opacity: 0;
	transform: skewX( -20deg );
	pointer-events: none;
	z-index: 2;
	background: linear-gradient( 90deg, transparent, var( --zcct-sheen ), transparent );
}

.zcct .zcct__submit:hover::after {
	animation: zcct-sheen 720ms ease;
}

/* A disabled button is mid-send, so it must not invite another click. */
.zcct .zcct__submit[disabled]::after {
	animation: none;
}

@keyframes zcct-sheen {
	from {
		left: -60%;
		opacity: 1;
	}

	to {
		left: 118%;
		opacity: 0;
	}
}

.zcct .zcct__submit[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

.zcct .zcct__note {
	max-width: 34ch;
	font-size: 12.5px;
	line-height: 1.5;
	color: #4e4e4e;
}

/* ------------------------------------------------------------------ */
/* Thank-you state                                                     */
/* ------------------------------------------------------------------ */

.zcct__done {
	display: none;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding: 8px 0;
}

.zcct.is-sent .zcct__body {
	display: none;
}

.zcct.is-sent .zcct__done {
	display: flex;
}

.zcct .zcct__tick {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border: 2px solid #3ec6a8;
	border-radius: 50%;
}

.zcct .zcct__tick svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: #3ec6a8;
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.zcct .zcct__doneheading {
	margin: 6px 0 0;
	font-family: var( --zcct-font-display );
	font-size: 30px;
	font-weight: 600;
	line-height: 1.2;
	color: #ededed;
}

.zcct .zcct__donetext {
	margin: 0;
	max-width: 44ch;
	font-size: 16px;
	line-height: 1.6;
	color: #8a8a8a;
}

/* ------------------------------------------------------------------ */
/* Aside panel                                                         */
/* ------------------------------------------------------------------ */

.zcct-aside {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 36px 30px;
	border: 1px solid var( --zcct-line );
	border-radius: 0;
	background-color: #0c0c0e;
}

.zcct-aside .zcct-aside__h {
	margin: 0 0 16px;
	font-family: var( --zcct-font-display );
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
	color: #ededed;
}

.zcct-aside__div {
	margin: 26px 0;
	border-top: 1px solid var( --zcct-line );
}

.zcct-aside__steps {
	display: flex;
	flex-direction: column;
}

.zcct-aside__step {
	position: relative;
	display: grid;
	grid-template-columns: 30px 1fr;
	gap: 14px;
	padding: 11px 0;
}

.zcct-aside .zcct-aside__sn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: 1.5px solid var( --zcct-node );
	background-color: #141416;
	font-family: var( --zcct-font-label );
	font-size: 11px;
	line-height: 1;
	color: #8a8a8a;
}

.zcct-aside__step.is-current .zcct-aside__sn {
	box-shadow: 0 0 0 2px color-mix( in srgb, var( --zcct-node ) 38%, transparent );
}

/* The connector between consecutive stage markers. */
.zcct-aside__step + .zcct-aside__step::before {
	content: "";
	position: absolute;
	top: -6px;
	left: 14px;
	width: 2px;
	height: 12px;
	background-color: rgba( 255, 255, 255, 0.2 );
}

.zcct-aside .zcct-aside__st {
	display: block;
	font-family: var( --zcct-font-display );
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.15px;
	color: #ededed;
}

.zcct-aside .zcct-aside__sd {
	margin: 3px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: #8a8a8a;
}

.zcct-aside .zcct-aside__badge {
	display: inline-block;
	margin-top: 6px;
	padding: 3px 7px;
	border: 1px dashed currentColor;
	font-family: var( --zcct-font-label );
	font-size: 9.5px;
	letter-spacing: 1.2px;
	line-height: 1.3;
	text-transform: uppercase;
	color: var( --zcct-node );
}

.zcct-aside .zcct-aside__note {
	margin: 18px 0 0;
	font-size: 12.5px;
	line-height: 1.55;
	color: #4e4e4e;
}

.zcct-aside .zcct-aside__note--last {
	margin-top: 20px;
}

/* ------------------------------------------------------------------ */
/* Direct contact rows                                                 */
/* ------------------------------------------------------------------ */

.zcct-aside__crow {
	display: grid;
	grid-template-columns: 34px 1fr;
	gap: 14px;
	align-items: start;
	padding: 13px 0;
	border-bottom: 1px solid var( --zcct-line );
}

.zcct-aside__crow:last-of-type {
	border-bottom: 0;
}

.zcct-aside .zcct-aside__cic {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 34px;
	height: 34px;
	border: 1px solid rgba( 255, 255, 255, 0.2 );
	background-color: #141416;
}

.zcct-aside .zcct-aside__cic svg {
	width: 15px;
	height: 15px;
	fill: #8a8a8a;
}

.zcct-aside .zcct-aside__cic i {
	font-size: 14px;
	color: #8a8a8a;
}

.zcct-aside .zcct-aside__ck {
	display: block;
	font-family: var( --zcct-font-label );
	font-size: 9.5px;
	letter-spacing: 1.2px;
	line-height: 1.4;
	text-transform: uppercase;
	color: #4e4e4e;
}

.zcct-aside .zcct-aside__cv {
	margin-top: 3px;
	font-size: 14px;
	line-height: 1.45;
	color: #ededed;
}

.zcct-aside .zcct-aside__cv a,
.zcct-aside .zcct-aside__note a {
	color: var( --zcct-accent );
	text-decoration: none;
}

.zcct-aside .zcct-aside__cv a:hover,
.zcct-aside .zcct-aside__note a:hover {
	text-decoration: underline;
}

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

@media ( max-width: 767px ) {
	.zcct {
		padding: 28px 22px;
	}

	/* Half and third fields go full width rather than squeezing. */
	.zcct__fields {
		--zcct-span-50: 6;
		--zcct-span-33: 6;
	}

	.zcct .zcct__heading,
	.zcct .zcct__doneheading {
		font-size: 24px;
	}

	.zcct-aside {
		padding: 28px 22px;
	}
}

/* ------------------------------------------------------------------ */
/* Reduced motion                                                      */
/* ------------------------------------------------------------------ */

@media ( prefers-reduced-motion: reduce ) {
	.zcct .zcct__input,
	.zcct .zcct__submit,
	.zcct .zcct__box,
	.zcct .zcct__box svg {
		transition-duration: 1ms;
	}

	.zcct .zcct__submit:hover {
		transform: none;
	}

	.zcct .zcct__submit:hover::after {
		animation: none;
	}
}
