/* Artmark Contact-page widgets (Contact Hero, Contact Form) — structural
   layout + design defaults. Colors/typography are overridable via widget
   controls. */

/* ---------------------------------------------------------------- */
/* Contact Hero                                                      */
/* ---------------------------------------------------------------- */

.am-chero {
	position: relative;
	width: 100%;
	display: flex;
	overflow: hidden;
	background-color: #020713;
}

.am-chero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.am-chero__overlay {
	position: absolute;
	inset: 0;
	background-color: #020713;
	opacity: 0.7;
	pointer-events: none;
}

.am-chero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.am-chero__eyebrow {
	display: flex;
	justify-content: flex-start;
}

.am-chero__eyebrow .am-eyebrow {
	margin-bottom: 24px;
}

.am-chero__row {
	display: flex;
	align-items: flex-end;
	gap: 48px;
}

.am-chero__main {
	flex: 0 0 58%;
	max-width: 58%;
	min-width: 0;
}

.am-chero__title {
	margin: 0;
	font-size: 60px;
	font-weight: 400;
	line-height: 1.14;
	letter-spacing: -0.02em;
	color: #ffffff;
}

.am-chero__side {
	flex: 1 1 auto;
	min-width: 0;
	padding-bottom: 12px;
}

.am-chero__para {
	margin: 0;
	font-size: 16px;
	line-height: 26px;
	color: #c7cbd1;
	max-width: 480px;
}

/* Stacked (tablet opt-in / mobile always): paragraph above or below. */
.am-chero-para-above .am-chero__row {
	flex-direction: column-reverse;
}

@media (max-width: 1024px) {
	.am-chero-stack-t-yes .am-chero__row {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--am-chero-hs, 24px);
	}

	.am-chero-stack-t-yes.am-chero-para-above .am-chero__row {
		flex-direction: column-reverse;
	}

	.am-chero-stack-t-yes .am-chero__main {
		flex: 0 0 auto !important;
		max-width: 100% !important;
	}

	.am-chero-stack-t-yes .am-chero__side {
		padding-bottom: 0;
	}

	.am-chero__title {
		font-size: 44px;
	}
}

@media (max-width: 767px) {
	.am-chero__row {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--am-chero-hs, 24px);
	}

	.am-chero-para-above .am-chero__row {
		flex-direction: column-reverse;
	}

	.am-chero__main {
		flex: 0 0 auto !important;
		max-width: 100% !important;
	}

	.am-chero__side {
		padding-bottom: 0;
	}

	.am-chero__title {
		font-size: 34px;
	}

	.am-chero__para {
		max-width: none;
	}
}

/* ---------------------------------------------------------------- */
/* Contact Form — section shell                                      */
/* ---------------------------------------------------------------- */

.am-cf {
	width: 100%;
	background-color: #ffffff;
}

.am-cf__inner {
	width: 100%;
	margin: 0 auto;
	display: flex;
	align-items: flex-start;
	gap: 64px;
}

.am-cf__main {
	flex: 0 0 62%;
	max-width: 62%;
	min-width: 0;
}

.am-cf__side {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.am-cf__title {
	margin: 0 0 32px;
	font-size: 52px;
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: -0.01em;
	color: #020713;
}

.am-cf__intro {
	margin: -16px 0 32px;
	font-size: 16px;
	line-height: 26px;
	color: #4b5563;
	max-width: 640px;
}

.am-cf__eyebrow {
	display: flex;
	justify-content: flex-start;
}

.am-cf__eyebrow .am-eyebrow {
	margin-bottom: 20px;
}

/* ---------------------------------------------------------------- */
/* Contact Form — fields                                             */
/* ---------------------------------------------------------------- */

.am-cform {
	display: block;
	width: 100%;
}

.am-cform__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 24px;
	row-gap: 20px;
}

.am-cform__group {
	min-width: 0;
	display: flex;
	flex-direction: column;
	grid-column: span var(--am-cf-span, 1);
}

.am-cform__group.is-full {
	--am-cf-span: 2;
}

.am-cform__label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: #1f2937;
}

.am-cform__req {
	color: #1f2937;
}

.am-cform__hint {
	display: block;
	margin: -4px 0 10px;
	font-size: 14px;
	line-height: 20px;
	color: #8a9099;
}

.am-cform__input,
.am-cform__textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	background-color: #ffffff;
	border: 1px solid #e3e6ea;
	border-radius: 0;
	box-shadow: none;
	font-family: inherit;
	font-size: 16px;
	line-height: 24px;
	color: #111827;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
	-webkit-appearance: none;
	appearance: none;
}

.am-cform__textarea {
	min-height: 132px;
	resize: vertical;
}

.am-cform__input::placeholder,
.am-cform__textarea::placeholder {
	color: #a6acb5;
	opacity: 1;
}

.am-cform__input:focus,
.am-cform__textarea:focus {
	outline: none;
	border-color: #0080b8;
	box-shadow: 0 0 0 2px rgba(0, 128, 184, 0.14);
}

.am-cform__group.has-error .am-cform__input,
.am-cform__group.has-error .am-cform__textarea,
.am-cform__group.has-error .am-cform__drop {
	border-color: #d13438;
}

.am-cform__error {
	display: block;
	font-size: 13px;
	line-height: 18px;
	color: #d13438;
	min-height: 0;
}

.am-cform__error:not(:empty) {
	margin-top: 6px;
}

/* ---------------------------------------------------------------- */
/* Contact Form — "How can we help?" option cards                    */
/* ---------------------------------------------------------------- */

.am-cform__opts {
	display: grid;
	grid-template-columns: repeat(var(--am-cf-optcols, 3), minmax(0, 1fr));
	gap: 12px;
}

.am-cform__opt {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	background-color: #ffffff;
	border: 1px solid #e3e6ea;
	border-radius: 0;
	cursor: pointer;
	transition: border-color 0.18s ease, background-color 0.18s ease;
}

.am-cform__opt:hover {
	border-color: #b9c2cc;
}

.am-cform__opt input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	margin: 0;
	pointer-events: none;
}

.am-cform__radio {
	position: relative;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	border: 1px solid #c3c9d2;
	border-radius: 50%;
	background-color: #ffffff;
	transition: border-color 0.18s ease;
}

.am-cform__radio::after {
	content: "";
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background-color: #0080b8;
	transform: scale(0);
	transition: transform 0.15s ease;
}

.am-cform__optlabel {
	font-size: 15px;
	line-height: 20px;
	color: #1f2937;
}

.am-cform__opt input:focus-visible ~ .am-cform__radio {
	box-shadow: 0 0 0 3px rgba(0, 128, 184, 0.25);
}

.am-cform__opt input:checked ~ .am-cform__radio {
	border-color: #0080b8;
}

.am-cform__opt input:checked ~ .am-cform__radio::after {
	transform: scale(1);
}

.am-cform__opt.is-checked,
.am-cform__opt:has(input:checked) {
	border-color: #0080b8;
	background-color: #f3f9ff;
}

/* ---------------------------------------------------------------- */
/* Contact Form — upload zone                                        */
/* ---------------------------------------------------------------- */

.am-cform__drop {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 40px 24px;
	background-color: #fcfcfd;
	border: 1px dashed #d8dde4;
	border-radius: 0;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.18s ease, background-color 0.18s ease;
}

.am-cform__drop:hover,
.am-cform__drop:focus-visible,
.am-cform__drop.is-drag {
	border-color: #0080b8;
	background-color: #f5faff;
	outline: none;
}

.am-cform__file {
	position: absolute;
	width: 0;
	height: 0;
	opacity: 0;
	overflow: hidden;
}

.am-cform__dropicon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #0080b8;
	margin-bottom: 6px;
}

.am-cform__dropicon svg,
.am-cform__dropicon img {
	width: 28px;
	height: 28px;
	display: block;
	object-fit: contain;
}

.am-cform__droptitle {
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	color: #111827;
}

.am-cform__drophint {
	font-size: 14px;
	line-height: 20px;
	color: #8a9099;
}

.am-cform__filename {
	display: none;
	align-items: center;
	gap: 10px;
	margin-top: 6px;
	font-size: 14px;
	line-height: 20px;
	color: #0080b8;
	word-break: break-all;
}

.am-cform__drop.has-file .am-cform__filename {
	display: inline-flex;
}

.am-cform__drop.has-file .am-cform__droptitle,
.am-cform__drop.has-file .am-cform__drophint {
	display: none;
}

.am-cform__fileclear {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	padding: 0;
	line-height: 1;
	border: 0;
	border-radius: 50%;
	background-color: rgba(0, 128, 184, 0.12);
	color: inherit;
	font-size: 14px;
	cursor: pointer;
}

.am-cform__fileclear:hover {
	background-color: rgba(0, 128, 184, 0.24);
}

/* ---------------------------------------------------------------- */
/* Contact Form — actions / status                                   */
/* ---------------------------------------------------------------- */

.am-cform__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 24px;
	margin-top: 32px;
}

.am-cform__submit {
	border: 0;
	cursor: pointer;
	font-family: inherit;
	min-width: 172px;
	padding: 16px 20px;
	background-color: #0080b8;
	color: #ffffff;
}

.am-cform__submit:hover,
.am-cform__submit:focus,
.am-cform__submit:active {
	background-color: #0080b8;
	color: #ffffff;
	box-shadow: none;
}

.am-cform__submit:disabled {
	opacity: 0.6;
	cursor: default;
	transform: none;
}

.am-cform.is-sending .am-cform__submit {
	opacity: 0.6;
}

.am-cform__note {
	margin: 0;
	font-size: 15px;
	line-height: 22px;
	color: #6b7280;
}

.am-cform__status {
	margin-top: 20px;
	padding: 14px 16px;
	font-size: 15px;
	line-height: 22px;
	border-left: 3px solid transparent;
}

.am-cform__status[hidden] {
	display: none;
}

.am-cform__status.is-success {
	background-color: #eef8f1;
	border-left-color: #2e7d4f;
	color: #1d5c39;
}

.am-cform__status.is-error {
	background-color: #fdeeee;
	border-left-color: #d13438;
	color: #a52a2d;
}

.am-cform__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------------------------------------------------------------- */
/* Contact Form — side cards                                         */
/* ---------------------------------------------------------------- */

.am-cf__talk {
	background-color: #d9ebfc;
	padding: 32px;
}

.am-cf__talk-title {
	margin: 0 0 12px;
	font-size: 24px;
	font-weight: 400;
	line-height: 32px;
	color: #020713;
}

.am-cf__talk-text {
	margin: 0 0 24px;
	font-size: 16px;
	line-height: 24px;
	color: #3f4a5a;
}

.am-cf__talk-btn {
	background-color: #020713;
	color: #ffffff;
	padding: 16px 20px;
	min-width: 0;
}

.am-cf__info {
	background-color: #020713;
	padding: 32px;
}

.am-cf__info-label {
	display: block;
	font-size: 12px;
	font-weight: 500;
	line-height: 16px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #b4ddff;
	margin-bottom: 10px;
}

.am-cf__info-title {
	margin: 0 0 12px;
	font-size: 28px;
	font-weight: 400;
	line-height: 36px;
	color: #ffffff;
}

.am-cf__info-text {
	margin: 0 0 16px;
	font-size: 16px;
	line-height: 24px;
	color: #c7cbd1;
}

.am-cf__links,
.am-cf__places {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.am-cf__links a {
	font-size: 16px;
	line-height: 24px;
	color: #4fa8e8;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.am-cf__links a:hover {
	opacity: 0.8;
	text-decoration: underline;
}

.am-cf__places li {
	font-size: 16px;
	line-height: 26px;
	color: #ffffff;
}

/* The "Explore Our Global Network" button under the Global Presence lines.
   Colours ride the shared button variables plus two hover ones of its own,
   with every state pinned so the theme's link colours cannot bleed in. */
.am-cf__presence-row {
	display: flex;
	justify-content: flex-start;
}

.am-cf__presence-btn,
a.am-cf__presence-btn,
a.am-cf__presence-btn:visited {
	--am-btn-bg: #0080b8;
	--am-btn-color: #ffffff;
	flex: var(--am-cfp-flex, 0 0 auto);
	min-width: 0;
	margin-top: 16px;
	padding: 12px 18px;
	font-size: 14px;
	gap: 12px;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

a.am-cf__presence-btn:hover,
a.am-cf__presence-btn:focus,
a.am-cf__presence-btn:focus-visible,
a.am-cf__presence-btn:active {
	background-color: var(--am-cfp-hbg, #0a6ea0);
	color: var(--am-cfp-hc, #ffffff);
}

.am-cf__divider {
	height: 0;
	margin: 24px 0;
	border: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.am-cf__badge {
	display: flex;
	justify-content: flex-start;
}

.am-cf__badge .am-eyebrow {
	margin-bottom: 0;
	font-size: 13px;
}

/* ---------------------------------------------------------------- */
/* Contact Form — responsive                                         */
/* ---------------------------------------------------------------- */

@media (max-width: 1024px) {
	.am-cf__inner {
		flex-direction: column;
		gap: 40px;
	}

	.am-cf__main,
	.am-cf__side {
		flex: 0 0 auto !important;
		max-width: 100% !important;
		width: 100%;
	}

	.am-cf__title {
		font-size: 40px;
	}

	.am-cform__opts {
		--am-cf-optcols: 2;
	}
}

@media (max-width: 767px) {
	.am-cf__title {
		font-size: 31px;
	}

	.am-cform__group {
		--am-cf-span: 2;
	}

	.am-cform__opts {
		--am-cf-optcols: 1;
	}

	.am-cform__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}

	.am-cform__submit {
		min-width: 0 !important;
		justify-content: space-between;
	}

	.am-cform__drop {
		padding: 32px 16px;
	}
}
