/* Armeria 3S Toolkit: maintenance / coming soon page (F5). Colours come from the settings as --a3s-mm-* on .a3s-mm. */

.a3s-mm-body {
	margin: 0;
}

.a3s-mm-body--builtin {
	background: #231f20;
}

.a3s-mm {
	--a3s-mm-muted: color-mix(in srgb, var(--a3s-mm-text, #fff) 78%, transparent);
	--a3s-mm-line: color-mix(in srgb, var(--a3s-mm-text, #fff) 22%, transparent);
	position: relative;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	min-height: 100dvh;
	padding: 48px 16px;
	background-color: var(--a3s-mm-bg, #231f20);
	background-position: center;
	background-size: cover;
	color: var(--a3s-mm-text, #fff);
	font-family: var(--a3s-font-body, "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif);
	font-size: 1rem;
	line-height: 1.5;
	text-align: center;
	-webkit-font-smoothing: antialiased;
}

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

/* Dark overlay over the optional background image. */
.a3s-mm--image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--a3s-mm-bg, #231f20);
	opacity: var(--a3s-mm-overlay, .6);
}

/* Hazard stripes at the top and bottom of the page. */
.a3s-mm--hazard {
	border-block: 14px solid #ffde17;
	border-inline: 0;
	border-image: repeating-linear-gradient(-45deg, #ffde17 0 14px, #231f20 14px 28px) 14;
}

.a3s-mm__inner {
	position: relative;
	width: 100%;
	max-width: 720px;
}

.a3s-mm a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color .2s cubic-bezier(.7, 0, .3, 1);
}

.a3s-mm a:hover {
	color: var(--a3s-mm-accent, #e95e1b);
}

.a3s-mm :focus-visible {
	outline: 3px solid #ffde17;
	outline-offset: 2px;
}

.a3s-mm__logo {
	margin: 0 auto 32px;
}

.a3s-mm__logo img {
	display: block;
	width: auto;
	max-width: min(240px, 70vw);
	height: auto;
	max-height: 180px;
	margin: 0 auto;
}

.a3s-mm__eyebrow {
	display: inline-block;
	margin: 0 0 16px;
	padding: 4px 12px;
	background: var(--a3s-mm-accent, #e95e1b);
	color: #231f20;
	font-size: max(12px, .75rem);
	font-weight: 600;
	line-height: 1.5;
	text-transform: uppercase;
}

.a3s-mm__title {
	margin: 0 0 16px;
	color: inherit;
	font-family: inherit;
	font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3rem);
	font-weight: 700;
	line-height: 1.15;
	text-transform: uppercase;
}

.a3s-mm__message {
	max-width: 600px;
	margin: 0 auto;
	color: var(--a3s-mm-muted);
	font-size: 1.125rem;
}

.a3s-mm__message p {
	margin: 0 0 12px;
}

/* Countdown */
.a3s-mm__countdown {
	margin: 32px 0 0;
}

.a3s-mm__countdown-label {
	margin: 0 0 12px;
	font-size: .875rem;
	font-weight: 500;
	text-transform: uppercase;
}

.a3s-mm__units {
	display: flex;
	justify-content: center;
	gap: 10px;
}

.a3s-mm__unit {
	display: flex;
	flex-direction: column;
	width: 88px;
	padding: 12px 4px 10px;
	border: 1px solid var(--a3s-mm-line);
	border-top: 3px solid var(--a3s-mm-accent, #e95e1b);
	background: rgba(0, 0, 0, .2);
}

.a3s-mm__unit b {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.a3s-mm__unit small {
	margin-top: 6px;
	color: var(--a3s-mm-muted);
	font-size: max(12px, .75rem);
	text-transform: uppercase;
}

/* Subscribe */
.a3s-mm__subscribe {
	max-width: 520px;
	margin: 40px auto 0;
	text-align: left;
}

.a3s-mm__subtitle {
	margin: 0 0 12px;
	color: inherit;
	font-family: inherit;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
}

.a3s-mm__label {
	display: block;
	margin-bottom: 6px;
	font-size: .875rem;
}

.a3s-mm__row {
	display: flex;
	gap: 0;
}

.a3s-mm__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 48px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid transparent;
	border-radius: 0;
	background: #fff;
	color: #231f20;
	font: inherit;
}

.a3s-mm__button {
	flex: 0 0 auto;
	height: 48px;
	margin: 0;
	padding: 0 22px;
	border: 0;
	border-radius: 0;
	background: var(--a3s-mm-accent, #e95e1b);
	color: #231f20;
	font: inherit;
	font-weight: 600;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .15s ease-in-out, color .15s ease-in-out;
}

.a3s-mm__button:hover {
	background: #fff;
	color: #231f20;
}

.a3s-mm__button[disabled] {
	opacity: .6;
	cursor: progress;
}

.a3s-mm__consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 12px;
	color: var(--a3s-mm-muted);
	font-size: max(12px, .8125rem);
	line-height: 1.45;
	cursor: pointer;
}

.a3s-mm__consent input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--a3s-mm-accent, #e95e1b);
}

.a3s-mm__notice {
	min-height: 1.5em;
	margin: 12px 0 0;
	font-weight: 500;
}

.a3s-mm__notice--ok {
	color: #9be3b0;
}

.a3s-mm__notice--error {
	color: #ffb4a8;
}

.a3s-mm__form.is-done .a3s-mm__label,
.a3s-mm__form.is-done .a3s-mm__row,
.a3s-mm__form.is-done .a3s-mm__consent {
	display: none;
}

.a3s-mm__form.is-done .a3s-mm__notice {
	text-align: center;
}

.a3s-mm__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Contacts and social */
.a3s-mm__contacts {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 28px;
	margin: 40px 0 0;
	padding: 24px 0 0;
	border-top: 1px solid var(--a3s-mm-line);
	list-style: none;
}

.a3s-mm__contacts li {
	display: flex;
	gap: 8px;
	align-items: center;
	margin: 0;
}

.a3s-mm__contacts a {
	text-decoration: none;
}

.a3s-mm__icon {
	flex: 0 0 auto;
	color: var(--a3s-mm-accent, #e95e1b);
}

.a3s-mm__social {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.a3s-mm__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--a3s-mm-line);
	border-radius: 50%;
	transition: background-color .2s cubic-bezier(.7, 0, .3, 1), border-color .2s cubic-bezier(.7, 0, .3, 1);
}

.a3s-mm__social a:hover {
	border-color: var(--a3s-mm-accent, #e95e1b);
	background: var(--a3s-mm-accent, #e95e1b);
	color: #231f20;
}

.a3s-mm__social .a3s-mm__icon {
	color: inherit;
}

/* Reviews banner: full-width scrolling strip at the bottom with the Google / Trustpilot links. */
.a3s-mm--reviews {
	flex-direction: column;
}

.a3s-mm--reviews .a3s-mm__inner {
	margin-block: auto;
}

.a3s-mm__reviews {
	position: relative;
	align-self: stretch;
	overflow: hidden;
	margin: 40px -16px -48px;
	border-block: 1px solid var(--a3s-mm-line);
	background: rgba(0, 0, 0, .35);
}

.a3s-mm__rv-track {
	display: flex;
	width: max-content;
	animation: a3s-mm-rv 40s linear infinite;
}

.a3s-mm__reviews:hover .a3s-mm__rv-track,
.a3s-mm__reviews:focus-within .a3s-mm__rv-track,
.a3s-mm__reviews.is-paused .a3s-mm__rv-track {
	animation-play-state: paused;
}

/* Each group is at least one screen wide, so a short list still fills the strip. */
.a3s-mm__rv-group {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-around;
	gap: 48px;
	min-width: 100vw;
	margin: 0;
	padding: 14px 24px;
	list-style: none;
}

.a3s-mm__rv-group li {
	margin: 0;
	white-space: nowrap;
}

.a3s-mm__rv-group a {
	display: inline-flex;
	gap: 10px;
	align-items: baseline;
	text-decoration: none;
}

.a3s-mm__rv-group b {
	font-weight: 700;
	text-transform: uppercase;
}

.a3s-mm__rv-group span {
	color: var(--a3s-mm-muted);
}

.a3s-mm__rv-pause {
	position: absolute;
	z-index: 1;
	top: 50%;
	right: 8px;
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	transform: translateY(-50%);
	border: 1px solid var(--a3s-mm-line);
	border-radius: 50%;
	background: var(--a3s-mm-bg, #231f20);
	color: inherit;
	font-size: 10px;
	line-height: 1;
	cursor: pointer;
}

.a3s-mm__rv-pause[hidden] {
	display: none;
}

.a3s-mm__rv-pause::before {
	content: "❚❚";
}

.is-paused .a3s-mm__rv-pause::before {
	content: "▶";
}

@keyframes a3s-mm-rv {
	to {
		transform: translateX(-50%);
	}
}

.a3s-mm__copy {
	margin: 32px 0 0;
	color: var(--a3s-mm-muted);
	font-size: max(12px, .8125rem);
}

.a3s-mm-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 575px) {
	.a3s-mm {
		padding: 32px 16px;
	}

	.a3s-mm__reviews {
		margin-bottom: -32px;
	}

	.a3s-mm__units {
		gap: 6px;
	}

	.a3s-mm__unit {
		width: 25%;
		max-width: 76px;
	}

	.a3s-mm__unit b {
		font-size: 1.75rem;
	}

	.a3s-mm__row {
		flex-direction: column;
		gap: 8px;
	}

	.a3s-mm__button {
		width: 100%;
	}

	.a3s-mm__contacts {
		flex-direction: column;
		align-items: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.a3s-mm *,
	.a3s-mm *::before,
	.a3s-mm *::after {
		transition: none !important;
	}

	/* No scrolling: the links sit still, wrapped and centred. */
	.a3s-mm__rv-track {
		width: auto;
		animation: none;
	}

	.a3s-mm__rv-group {
		flex-wrap: wrap;
		justify-content: center;
		width: 100%;
		min-width: 0;
	}

	.a3s-mm__rv-group[aria-hidden],
	.a3s-mm__rv-pause {
		display: none !important;
	}
}

/* [a3s_subscribe] on a light page (e.g. an Elementor maintenance template): readable colours, visible field. */
.a3s-mm-sc .a3s-mm__subscribe {
	margin: 24px auto;
}

.a3s-mm-sc .a3s-mm__input {
	border-color: var(--a3s-color-border, #dcd9d5);
}

.a3s-mm-sc .a3s-mm__button:hover {
	background: var(--a3s-color-secondary, #231f20);
	color: #fff;
}

.a3s-mm-sc .a3s-mm__notice--ok {
	color: var(--a3s-color-success, #0a7a2f);
}

.a3s-mm-sc .a3s-mm__notice--error {
	color: var(--a3s-color-error, #c8102e);
}

.a3s-mm-hint {
	padding: 12px 16px;
	border-left: 4px solid #b45309;
	background: #f3f2f0;
	color: #231f20;
}
