/* Contact Us — hero */

.eqc-contact-us .mkdf-content,
.eqc-contact-us .mkdf-content-inner {
	background: transparent;
}

.eqc-contact-us .mkdf-title-holder,
.eqc-contact-us .mkdf-page-header + .mkdf-title {
	display: none !important;
}

.eqc-contact__main {
	--eqc-navy: #1a1f3c;
	--eqc-blue: #3fa9f5;
	--eqc-red: #d8232a;
	--eqc-paper: #f2f0e9;
	--eqc-font-display: "Oswald", "Arial Narrow", sans-serif;
	--eqc-font-hand: "Caveat", "Segoe Print", cursive;
	--eqc-font-body: "Muli", "Nunito Sans", sans-serif;
	--eqc-paper-tile: url("../img/homepage-v2/paper-tile.png");
	position: relative;
	overflow-x: clip;
	font-family: var(--eqc-font-body);
}

.eqc-contact-hero {
	position: relative;
	isolation: isolate;
	width: 100%;
	background:
		linear-gradient(var(--eqc-navy), var(--eqc-navy)) top / 100% 72px no-repeat,
		var(--eqc-blue);
}

.eqc-contact-hero__paper {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	padding: 140px max(20px, calc((100vw - 1180px) / 2)) 72px;
	box-sizing: border-box;
	overflow: visible;
	z-index: 1;
}

.eqc-contact-hero__paper::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-color: var(--eqc-paper);
	background-image: var(--eqc-paper-tile);
	background-repeat: repeat;
	background-size: 256px 256px;
	background-position: center top;
}

.eqc-contact-hero__paper > * {
	position: relative;
	z-index: 1;
}

.eqc-contact-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	column-gap: 56px;
	align-items: center;
	max-width: 1100px;
	margin: 0 auto;
}

.eqc-contact-hero__polaroid {
	position: relative;
	margin: 0;
	width: min(100%, 420px);
	justify-self: center;
	background: #fff;
	padding: 14px 14px 52px;
	box-shadow:
		0 12px 32px rgba(26, 31, 60, 0.16),
		0 2px 4px rgba(26, 31, 60, 0.08);
	transform: rotate(-3.5deg);
	transform-origin: center top;
}

.eqc-contact-hero__frame {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #d9d6cf;
}

.eqc-contact-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eqc-contact-hero__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background:
		linear-gradient(135deg, #e8e4db 25%, #d5d1c7 25%, #d5d1c7 50%, #e8e4db 50%, #e8e4db 75%, #d5d1c7 75%);
	background-size: 16px 16px;
}

.eqc-contact-hero__caption {
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 12px;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: var(--eqc-font-hand);
	font-size: clamp(1.25rem, 2.2vw, 1.7rem);
	font-weight: 600;
	line-height: 1.1;
	color: var(--eqc-navy);
}

.eqc-contact-hero__heart {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.eqc-contact-hero__copy {
	min-width: 0;
	padding-top: 8px;
}

.eqc-contact-hero__title {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin: 0 0 18px;
	font-family: var(--eqc-font-display);
	font-weight: 700;
	font-size: clamp(2.6rem, 5.8vw, 4.4rem);
	line-height: 0.92;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.eqc-contact-hero__title-line {
	display: block;
}

.eqc-contact-hero__title-line--plan {
	color: var(--eqc-navy);
}

.eqc-contact-hero__title-line--summer {
	color: var(--eqc-red);
}

.eqc-contact-hero__lead {
	margin: 0 0 10px;
	max-width: 28em;
	font-size: clamp(1rem, 1.5vw, 1.15rem);
	line-height: 1.45;
	color: var(--eqc-navy);
}

.eqc-contact-hero__help {
	margin: 0 0 28px;
	font-family: var(--eqc-font-hand);
	font-size: clamp(1.55rem, 2.6vw, 2.1rem);
	font-weight: 600;
	line-height: 1.15;
	color: var(--eqc-blue);
}

.eqc-contact-hero__promises {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px 20px;
}

.eqc-contact-hero__promise {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.eqc-contact-hero__promise-icon {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	object-fit: contain;
}

.eqc-contact-hero__promise-label {
	font-family: var(--eqc-font-display);
	font-size: clamp(0.78rem, 1.15vw, 0.95rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--eqc-navy);
	line-height: 1.2;
}

@media (max-width: 900px) {
	.eqc-contact-hero__paper {
		padding-top: 120px;
		padding-bottom: 56px;
	}

	.eqc-contact-hero__inner {
		grid-template-columns: 1fr;
		row-gap: 36px;
		justify-items: center;
		text-align: left;
	}

	.eqc-contact-hero__polaroid {
		width: min(100%, 340px);
		transform: rotate(-2deg);
	}

	.eqc-contact-hero__copy {
		width: 100%;
		max-width: 560px;
	}

	.eqc-contact-hero__promises {
		grid-template-columns: 1fr;
		gap: 14px;
	}
}

@media (max-width: 560px) {
	.eqc-contact-hero__paper {
		padding-top: 108px;
		padding-bottom: 48px;
	}

	.eqc-contact-hero__polaroid {
		width: min(100%, 280px);
		padding: 12px 12px 46px;
	}

	.eqc-contact-hero__caption {
		font-size: 1.2rem;
	}

	.eqc-contact-hero__promise-icon {
		width: 40px;
		height: 40px;
	}
}

/* ---- How can we help? ---- */

.eqc-contact-enquiry {
	position: relative;
	isolation: isolate;
	width: 100%;
	background: #f4f6f8;
}

.eqc-contact-enquiry__inner {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 56px max(20px, calc((100vw - 1180px) / 2)) 72px;
	box-sizing: border-box;
}

.eqc-contact-enquiry__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.2fr);
	column-gap: 48px;
	align-items: start;
	max-width: 1100px;
	margin: 0 auto;
}

.eqc-contact-help {
	max-width: none;
}

.eqc-contact-help__title {
	margin: 0 0 8px;
	font-family: var(--eqc-font-display);
	font-size: clamp(1.35rem, 2.2vw, 1.7rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--eqc-navy);
	line-height: 1.15;
}

.eqc-contact-help__lead {
	margin: 0 0 22px;
	font-size: 0.98rem;
	line-height: 1.4;
	color: #6b7280;
}

.eqc-contact-help__cards {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.eqc-contact-help__card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	margin: 0;
	padding: 14px 44px 14px 16px;
	border: 1.5px solid #d7dde5;
	border-radius: 12px;
	background: #fff;
	text-align: left;
	cursor: pointer;
	appearance: none;
	font: inherit;
	color: inherit;
	transition:
		border-color 0.18s ease,
		background-color 0.18s ease,
		box-shadow 0.18s ease;
}

.eqc-contact-help__card:hover {
	border-color: #9db7e8;
}

.eqc-contact-help__card:focus-visible {
	outline: 2px solid var(--eqc-blue);
	outline-offset: 2px;
}

.eqc-contact-help__card.is-selected {
	border-color: #3b82f6;
	background: #f3f8ff;
	box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.eqc-contact-help__icon {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	object-fit: contain;
}

.eqc-contact-help__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.eqc-contact-help__card-title {
	font-family: var(--eqc-font-display);
	font-size: 0.98rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--eqc-navy);
	line-height: 1.2;
}

.eqc-contact-help__card-desc {
	font-size: 0.88rem;
	line-height: 1.3;
	color: #6b7280;
}

.eqc-contact-help__check {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #3b82f6;
	opacity: 0;
	transform: scale(0.85);
	transition:
		opacity 0.16s ease,
		transform 0.16s ease;
}

.eqc-contact-help__check::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 5px;
	width: 5px;
	height: 9px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.eqc-contact-help__card.is-selected .eqc-contact-help__check {
	opacity: 1;
	transform: scale(1);
}

/* ---- Tell us more ---- */

.eqc-contact-more {
	min-width: 0;
}

.eqc-contact-more__title {
	margin: 0 0 8px;
	font-family: var(--eqc-font-display);
	font-size: clamp(1.35rem, 2.2vw, 1.7rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--eqc-navy);
	line-height: 1.15;
}

.eqc-contact-more__lead {
	margin: 0 0 22px;
	font-size: 0.98rem;
	line-height: 1.4;
	color: #6b7280;
}

.eqc-contact-more__field {
	display: block;
	margin: 0 0 22px;
}

.eqc-contact-more__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 18px;
	margin-bottom: 22px;
}

.eqc-contact-more__field--half {
	margin-bottom: 0;
}

.eqc-contact-enquiry .b-form .form-group {
	margin-bottom: 22px;
}

.eqc-contact-enquiry .b-form .form-group .label {
	display: block;
	margin-bottom: 10px;
}

.eqc-contact-enquiry .b-form .form-control {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 5px 16px;
	min-height: 42px;
	background: #fff;
	color: #222;
	font-family: Roboto, "Nunito Sans", sans-serif;
	font-size: 16px;
	line-height: 1.4;
}

.eqc-contact-enquiry .b-form select.form-control {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%2363C2EF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 18px 18px;
	padding-right: 40px;
}

.eqc-contact-enquiry .b-form textarea.form-control {
	min-height: 160px;
	padding-top: 10px;
	padding-bottom: 10px;
	resize: vertical;
}

.eqc-contact-ages {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.eqc-contact-ages__btn {
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1.5px solid #d7dde5;
	border-radius: 10px;
	background: #fff;
	color: var(--eqc-navy);
	font-family: var(--eqc-font-display);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	appearance: none;
	transition:
		background-color 0.16s ease,
		border-color 0.16s ease,
		color 0.16s ease;
}

.eqc-contact-ages__btn:hover {
	border-color: #9db7e8;
}

.eqc-contact-ages__btn:focus-visible {
	outline: 2px solid var(--eqc-blue);
	outline-offset: 2px;
}

.eqc-contact-ages__btn.is-selected {
	border-color: #3b82f6;
	background: #3b82f6;
	color: #fff;
}

.eqc-contact-dests {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 12px;
}

.eqc-contact-dests.is-disabled {
	opacity: 0.45;
	pointer-events: none;
}

.eqc-contact-dest {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 132px;
	margin: 0;
	padding: 6px 14px 6px 6px;
	border: 1.5px solid #d7dde5;
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	appearance: none;
	font: inherit;
	color: inherit;
	text-align: left;
	transition:
		border-color 0.16s ease,
		background-color 0.16s ease,
		box-shadow 0.16s ease;
}

.eqc-contact-dest:hover {
	border-color: #9db7e8;
}

.eqc-contact-dest:focus-visible {
	outline: 2px solid var(--eqc-blue);
	outline-offset: 2px;
}

.eqc-contact-dest.is-selected {
	border-color: #3b82f6;
	background: #f3f8ff;
	box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.18);
}

.eqc-contact-dest__media {
	display: block;
	width: 42px;
	height: 42px;
	flex-shrink: 0;
	border-radius: 8px;
	overflow: hidden;
	background: #d9d6cf;
}

.eqc-contact-dest__media img,
.eqc-contact-dest__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eqc-contact-dest__placeholder {
	background:
		linear-gradient(135deg, #e8e4db 25%, #d5d1c7 25%, #d5d1c7 50%, #e8e4db 50%, #e8e4db 75%, #d5d1c7 75%);
	background-size: 12px 12px;
}

.eqc-contact-dest__name {
	font-family: var(--eqc-font-display);
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--eqc-navy);
	line-height: 1.2;
}

.eqc-contact-unsure {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 0.92rem;
	color: #4b5563;
	cursor: pointer;
	user-select: none;
}

.eqc-contact-unsure input {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: #3b82f6;
}

.eqc-contact-date {
	position: relative;
	display: block;
}

.eqc-contact-date .form-control {
	padding-right: 42px;
}

.eqc-contact-date__icon {
	position: absolute;
	top: 50%;
	right: 12px;
	width: 20px;
	height: 20px;
	transform: translateY(-50%);
	color: #63C2EF;
	pointer-events: none;
}

.eqc-contact-date__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.eqc-contact-more__hint {
	display: block;
	margin-top: 8px;
	font-size: 0.82rem;
	line-height: 1.35;
	color: #9ca3af;
}

/* ---- Contact details ---- */

.eqc-contact-details {
	margin-top: 28px;
	padding-top: 28px;
	border-top: 1px solid #d7dde5;
}

.eqc-contact-details__title {
	margin: 0 0 22px;
	font-family: var(--eqc-font-display);
	font-size: clamp(1.35rem, 2.2vw, 1.7rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--eqc-navy);
	line-height: 1.15;
}

.eqc-contact-details__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 18px;
}

.eqc-contact-details__actions {
	margin-top: 8px;
}

.eqc-contact-recaptcha {
	margin: 8px 0 18px;
}

.eqc-contact-recaptcha .g-recaptcha,
.eqc-contact-recaptcha__slot {
	display: inline-block;
	min-height: 78px;
}

.eqc-contact-recaptcha__error {
	margin: 10px 0 0;
	color: #E40F18;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.3;
}

.eqc-contact-status {
	margin-top: 16px;
	padding: 12px 14px;
	border: 1px solid #63C2EF;
	background: #f3faff;
	color: #1a1f3c;
	font-size: 0.95rem;
	line-height: 1.4;
}

.eqc-contact-status.is-error {
	border-color: #E40F18;
	background: #fff5f5;
	color: #E40F18;
	font-weight: 700;
}

.eqc-contact-status.is-success {
	border-color: #82e170;
	background: #f3fff0;
}

.eqc-contact-submit {
	cursor: pointer;
}

.eqc-contact-submit:disabled,
.eqc-contact-submit.disabled {
	opacity: 0.7;
	cursor: wait;
}

/* Contact Form 7 bridge (fields stay hidden; captcha is moved into the UI) */
.eqc-contact-cf7 {
	position: fixed;
	left: -10000px;
	top: 0;
	width: 320px;
	opacity: 0;
	pointer-events: none;
}

.eqc-contact-cf7 .eqc-cf7-fields,
.eqc-contact-cf7 .eqc-cf7-submit,
.eqc-contact-cf7 .wpcf7-submit,
.eqc-contact-cf7 .wpcf7-response-output {
	position: absolute !important;
	left: -9999px !important;
}

.eqc-contact-recaptcha__slot .eqc-cf7-recaptcha,
.eqc-contact-recaptcha__slot .wpcf7-recaptcha,
.eqc-contact-recaptcha__slot .g-recaptcha {
	display: inline-block;
	pointer-events: auto;
	opacity: 1;
}

@media (max-width: 900px) {
	.eqc-contact-enquiry__inner {
		padding-top: 40px;
		padding-bottom: 56px;
	}

	.eqc-contact-enquiry__grid {
		grid-template-columns: 1fr;
		row-gap: 40px;
	}

	.eqc-contact-help,
	.eqc-contact-more {
		max-width: 560px;
		margin: 0 auto;
		width: 100%;
	}
}

@media (max-width: 560px) {
	.eqc-contact-help__card {
		padding: 12px 40px 12px 12px;
		gap: 12px;
	}

	.eqc-contact-help__icon {
		width: 34px;
		height: 34px;
	}

	.eqc-contact-help__card-title {
		font-size: 0.9rem;
	}

	.eqc-contact-help__card-desc {
		font-size: 0.82rem;
	}

	.eqc-contact-more__row,
	.eqc-contact-details__grid {
		grid-template-columns: 1fr;
	}

	.eqc-contact-ages__btn {
		width: 40px;
		height: 40px;
	}

	.eqc-contact-dest {
		min-width: calc(50% - 5px);
		flex: 1 1 calc(50% - 5px);
	}

	.eqc-contact-submit {
		width: 100%;
		text-align: center;
	}
}
