/* Contact Us page shortcode */

.wte-contact-page {
	--wte-contact-teal: #008880;
	--wte-contact-gold: #c9a227;
	--wte-contact-text: #3a5555;
	--wte-contact-muted: #5a7272;
	--wte-contact-radius: 16px;

	/* Shell matches header; content below stays narrower */
	width: min(100% - 40px, var(--wte-container, 1180px));
	margin: 2.75rem auto 4.5rem;
	padding: 0 0 2.5rem;
	box-sizing: border-box;
	font-family: "Libre Franklin", "Segoe UI", Tahoma, sans-serif;
	color: var(--wte-contact-text);
}

.wte-contact-page *,
.wte-contact-page *::before,
.wte-contact-page *::after {
	box-sizing: border-box;
}

.wte-contact-page > *:not(.wte-contact-hero) {
	width: min(100%, 1100px);
	margin-left: auto;
	margin-right: auto;
}

/* Hero — same width as header */
.wte-contact-hero {
	width: 100%;
	margin: 0 0 2.75rem;
}

.wte-contact-hero__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: clamp(180px, 26vw, 260px);
	border-radius: var(--wte-contact-radius);
	overflow: hidden;
	background: #1a3a3a;
	box-shadow: 0 8px 28px rgba(0, 40, 40, 0.16);
}

.wte-contact-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.wte-contact-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.28) 50%, rgba(0, 0, 0, 0.2) 100%);
	z-index: 1;
	pointer-events: none;
}

.wte-contact-hero__title {
	position: relative;
	z-index: 2;
	margin: 0;
	padding: clamp(1.5rem, 4vw, 2.75rem);
	color: #fff;
	font-size: clamp(1.6rem, 4.2vw, 2.75rem);
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.1;
	text-transform: uppercase;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
	text-align: left;
}

/* Body sits on the page background image */
.wte-contact-body {
	position: relative;
	padding: 0.25rem 0 1rem;
	background: transparent;
}

.wte-contact-grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 2.5rem 3rem;
	align-items: start;
}

.wte-contact-eyebrow {
	margin: 0 0 0.45rem;
	color: var(--wte-contact-gold);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.wte-contact-heading {
	margin: 0 0 1rem;
	color: var(--wte-contact-teal);
	font-family: "Archivo", sans-serif;
	font-size: clamp(1.75rem, 4vw, 45px);
	font-weight: 700;
	font-style: normal;
	letter-spacing: 0;
	line-height: 1.3867;
	text-transform: uppercase;
}

.wte-contact-text {
	margin: 0 0 1.75rem;
	max-width: 36rem;
	color: var(--wte-contact-muted);
	font-size: 0.98rem;
	line-height: 1.75;
}

.wte-contact-text p {
	margin: 0 0 1rem;
}

.wte-contact-text p:last-child {
	margin-bottom: 0;
}

.wte-contact-card {
	background: #fff;
	border: 1.5px solid rgba(0, 136, 128, 0.55);
	border-radius: 14px;
	padding: 1.25rem 1.4rem;
	margin: 0 0 1.1rem;
	box-shadow: 0 4px 16px rgba(0, 70, 70, 0.05);
}

.wte-contact-card__title {
	margin: 0 0 0.65rem;
	color: var(--wte-contact-teal);
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.wte-contact-card__line {
	margin: 0 0 0.2rem;
	color: var(--wte-contact-muted);
	font-size: 0.95rem;
	line-height: 1.55;
}

.wte-contact-card__line:last-child {
	margin-bottom: 0;
}

.wte-contact-card__line a {
	color: var(--wte-contact-muted);
	text-decoration: none;
	word-break: break-word;
}

.wte-contact-card__line a:hover,
.wte-contact-card__line a:focus {
	color: var(--wte-contact-teal);
	text-decoration: underline;
}

.wte-contact-social {
	margin-top: 1.5rem;
}

.wte-contact-social__label {
	margin: 0 0 0.75rem;
	color: var(--wte-contact-teal);
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.wte-contact-social__links {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.wte-contact-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	text-decoration: none;
	background: none;
	border: 0;
	border-radius: 0;
	padding: 0;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.wte-contact-social__link:hover,
.wte-contact-social__link:focus {
	transform: translateY(-2px);
	opacity: 0.9;
}

.wte-contact-social__img {
	display: block;
	width: 42px;
	height: 42px;
	object-fit: contain;
}

.wte-contact-aside .wte-contact-card:last-child {
	margin-bottom: 0;
}

/* Contact Form 7 */
.wte-contact-form {
	background: #fff;
	border: 1.5px solid rgba(0, 136, 128, 0.45);
	border-radius: 14px;
	padding: 1.35rem 1.4rem 1.5rem;
	margin: 2rem 0 0;
	box-shadow: 0 4px 16px rgba(0, 70, 70, 0.05);
}

.wte-contact-form__title {
	margin: 0 0 1rem;
	color: var(--wte-contact-teal);
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.wte-contact-form .wpcf7 {
	margin: 0;
}

.wte-contact-form .wte-cf7 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.9rem;
}

.wte-contact-form .wpcf7-form p,
.wte-contact-form .wte-cf7__row,
.wte-contact-form .wte-cf7__submit {
	margin: 0;
}

.wte-contact-form .wte-cf7__row--full,
.wte-contact-form .wte-cf7__submit {
	grid-column: 1 / -1;
}

.wte-contact-form label {
	display: block;
	color: var(--wte-contact-teal);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.wte-contact-form .wte-cf7__req {
	color: #c0392b;
}

.wte-contact-form .wpcf7-form-control-wrap {
	display: block;
	margin-top: 0.4rem;
}

.wte-contact-form input.wpcf7-text,
.wte-contact-form input.wpcf7-email,
.wte-contact-form input.wpcf7-tel,
.wte-contact-form textarea.wpcf7-textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.75rem 0.9rem;
	border: 1.5px solid rgba(0, 136, 128, 0.45);
	border-radius: 10px;
	background: #fff;
	color: var(--wte-contact-text);
	font-family: inherit;
	font-size: 0.95rem;
	line-height: 1.4;
	box-shadow: none;
}

.wte-contact-form textarea.wpcf7-textarea {
	min-height: 120px;
	resize: vertical;
}

.wte-contact-form input.wpcf7-text:focus,
.wte-contact-form input.wpcf7-email:focus,
.wte-contact-form input.wpcf7-tel:focus,
.wte-contact-form textarea.wpcf7-textarea:focus {
	outline: none;
	border-color: var(--wte-contact-teal);
	box-shadow: 0 0 0 3px rgba(0, 136, 128, 0.12);
}

.wte-contact-form input.wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0.75rem 1.6rem;
	border: 0;
	border-radius: 999px;
	background: var(--wte-contact-teal);
	color: #fff;
	font-family: inherit;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease;
}

.wte-contact-form input.wpcf7-submit:hover,
.wte-contact-form input.wpcf7-submit:focus {
	background: #04565d;
	transform: translateY(-1px);
}

.wte-contact-form .wpcf7-not-valid-tip {
	font-size: 0.8rem;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 500;
}

.wte-contact-form .wpcf7-response-output {
	margin: 0.85rem 0 0;
	padding: 0.7rem 0.85rem;
	border-radius: 10px;
	font-size: 0.9rem;
}

@media (max-width: 900px) {
	.wte-contact-grid {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}

	.wte-contact-body {
		padding: 1.5rem 1rem;
	}

	.wte-contact-form .wte-cf7 {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.wte-contact-page {
		width: min(100% - 32px, var(--wte-container, 1180px));
		padding: 0 0 2rem;
		margin-top: 2rem;
		margin-bottom: 3.5rem;
	}

	.wte-contact-hero {
		margin-bottom: 1.75rem;
	}

	.wte-contact-hero__title {
		font-size: clamp(1.35rem, 7vw, 1.9rem);
	}

	.wte-contact-card {
		padding: 1.1rem 1.15rem;
	}
}
