/* blocks/coming-soon-section
 *
 * Centered launch panel over a background image. The tint is the :before, with
 * its color and opacity coming from the block's Section Settings as
 * --overlay-color / --overlay-opacity, same approach as the inner page banner.
 */

.section-coming-soon {
	position: relative;
	padding: 80px 20px;
	background-color: var(--primary-color);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	text-align: center;
	color: var(--white);
}

.section-coming-soon:before {
	position: absolute;
	content: '';
	width: 100%;
	height: 100%;
	background-color: var(--overlay-color, #3c5221);
	opacity: var(--overlay-opacity, .8);
	top: 0;
	left: 0;
}

/* Section Settings > Full Height. */
.section-coming-soon.is-full-height {
	display: flex;
	align-items: center;
	min-height: 100vh;
	min-height: 100svh;
}

.section-coming-soon .container {
	position: relative;
}

.section-coming-soon .coming-soon-content {
	max-width: 860px;
	margin-inline: auto;
}

.section-coming-soon .section-title {
	font-size: 52px;
	line-height: 1.1;
	font-weight: 700;
	color: var(--white);
}

.section-coming-soon .section-subtitle {
	margin-top: 14px;
	font-size: 22px;
	line-height: 1.5;
	color: var(--secondary-color);
}

.section-coming-soon .content {
	margin-top: 18px;
}

.section-coming-soon .content,
.section-coming-soon .content p,
.section-coming-soon .content a {
	color: var(--white);
}

.section-coming-soon .content a {
	text-decoration: underline;
}

/* --- Countdown ---------------------------------------------------------- */
.section-coming-soon .countdown {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 40px;
}

.section-coming-soon .countdown-unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 118px;
	padding: 18px 10px;
	margin: 8px;
	border: 1px solid rgba(255, 255, 255, .35);
	background-color: rgba(0, 0, 0, .18);
}

.section-coming-soon .countdown-value {
	font-family: var(--font-heading);
	font-size: 42px;
	line-height: 1;
	font-weight: 700;
	color: var(--white);
}

.section-coming-soon .countdown-label {
	margin-top: 8px;
	font-size: 14px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--secondary-color);
}

/* Added by custom.js once the target date has passed. */
.section-coming-soon .countdown.is-done .countdown-value {
	opacity: .55;
}

/* --- Notify form -------------------------------------------------------- */
.section-coming-soon .coming-soon-form {
	max-width: 560px;
	margin: 36px auto 0;
}

.section-coming-soon .coming-soon-form input[type="text"],
.section-coming-soon .coming-soon-form input[type="email"],
.section-coming-soon .coming-soon-form input[type="tel"],
.section-coming-soon .coming-soon-form textarea {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid rgba(255, 255, 255, .45);
	background-color: rgba(255, 255, 255, .12);
	color: var(--white);
	font: inherit;
}

.section-coming-soon .coming-soon-form input::placeholder,
.section-coming-soon .coming-soon-form textarea::placeholder {
	color: rgba(255, 255, 255, .7);
}

.section-coming-soon .coming-soon-form input[type="submit"],
.section-coming-soon .coming-soon-form button[type="submit"] {
	width: auto;
	margin-top: 12px;
	padding: 12px 34px;
	border: 0;
	background-color: var(--secondary-color);
	color: var(--primary-color);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

/* --- Button + social ---------------------------------------------------- */
.section-coming-soon .btn-group {
	margin-top: 34px;
}

.section-coming-soon .social-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 30px;
}

.section-coming-soon .social-links li {
	margin: 6px 9px;
}

.section-coming-soon .social-links img {
	width: 22px;
	height: 22px;
	object-fit: contain;
}

/* --- Responsive -------------------------------------------------------- */
@media (max-width: 1024px) {
	.section-coming-soon {
		padding: 60px 20px;
	}
}

@media (max-width: 767px) {
	.section-coming-soon {
		padding: 50px 20px;
	}

	.section-coming-soon .section-title {
		font-size: 34px;
	}

	.section-coming-soon .section-subtitle {
		font-size: 18px;
	}

	.section-coming-soon .countdown {
		margin-top: 30px;
	}

	.section-coming-soon .countdown-unit {
		width: calc(50% - 12px);
		margin: 6px;
		padding: 14px 8px;
	}

	.section-coming-soon .countdown-value {
		font-size: 32px;
	}
}

@media (max-width: 479px) {
	.section-coming-soon .section-title {
		font-size: 28px;
	}
}
