/*
 * Private SPA: split intro, dark feature grid, the private-hire price cards.
 */

.spa-intro__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4rem;
	align-items: center;
}

.spa-intro__body {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.spa-intro__body .page-lead {
	max-width: 28rem;
}

.spa-intro__quote {
	padding: 1.5rem;
	border-left: 2px solid var(--wp--preset--color--brand-gold);
	border-radius: 0 1.5rem 1.5rem 0;
	background: var(--wp--preset--color--brand-cream);
	box-shadow: var(--luxury-shadow);
	font-family: var(--wp--preset--font-family--serif);
	font-style: italic;
	line-height: 1.7;
	color: var(--wp--preset--color--brand-gold-dim);
}

.spa-intro__media .slider {
	border: 1px solid rgba(196, 163, 90, 0.1);
}

@media (min-width: 1024px) {
	.spa-intro__grid {
		grid-template-columns: 5fr 7fr;
		gap: 3rem;
	}
}

@media (min-width: 1280px) {
	.spa-intro__grid {
		gap: 6rem;
	}
}

/* --- Feature grid ------------------------------------------------------- */

.spa-features__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	margin-bottom: 4rem;
	text-align: center;
}

.spa-features__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

.feature-card {
	padding: 2rem;
	border: 1px solid rgba(196, 163, 90, 0.15);
	border-radius: 2rem;
	background: rgba(15, 26, 19, 0.5);
	transition: background-color 0.5s, border-color 0.5s;
}

.feature-card:hover {
	background: var(--wp--preset--color--brand-wood-deep);
	border-color: rgba(196, 163, 90, 0.6);
}

.feature-card__mark {
	display: block;
	margin-bottom: 1rem;
	font-size: 1.875rem;
	line-height: 1;
}

.feature-card__title {
	margin-bottom: 0.5rem;
	font-size: 1.25rem;
	color: var(--wp--preset--color--brand-gold-light);
}

.feature-card__body {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.875rem;
	line-height: 1.7;
	color: rgba(245, 240, 232, 0.6);
}

@media (min-width: 768px) {
	.spa-features__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.spa-features__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* --- Prices ------------------------------------------------------------- */

.spa-prices__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	margin-bottom: 4rem;
	text-align: center;
}

.spa-prices__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

.price-card {
	display: flex;
	flex-direction: column;
	padding: 2rem;
	border: 1px solid rgba(196, 163, 90, 0.15);
	border-radius: 2.5rem;
	background: #fff;
	box-shadow: var(--luxury-shadow);
	transition: border-color 0.5s;
}

.price-card:hover {
	border-color: rgba(196, 163, 90, 0.4);
}

.price-card__head {
	padding-bottom: 1.5rem;
	border-bottom: 1px solid rgba(196, 163, 90, 0.15);
	text-align: center;
}

.price-card__window {
	margin-top: 0.5rem;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.125rem;
	white-space: nowrap;
	color: var(--wp--preset--color--brand-wood);
}

.price-card__rows {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding-top: 1.5rem;
}

.price-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
}

.price-row__label {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brand-stone);
}

.price-row__value {
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.5rem;
	font-weight: 900;
	line-height: 1;
	white-space: nowrap;
	color: var(--wp--preset--color--brand-wood);
}

.spa-extra {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 2rem;
	padding: 1.5rem 2rem;
	border: 1px dashed rgba(196, 163, 90, 0.4);
	border-radius: 2rem;
	background: rgba(250, 246, 239, 0.7);
}

.spa-extra__title {
	margin-top: 0.25rem;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.125rem;
	color: var(--wp--preset--color--brand-wood);
}

.spa-extra__price {
	margin-left: auto;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.5rem;
	font-weight: 900;
	line-height: 1;
	white-space: nowrap;
	color: var(--wp--preset--color--brand-wood);
}

@media (min-width: 768px) {
	.spa-prices__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
	}

	.price-row__value,
	.spa-extra__price {
		font-size: 1.875rem;
	}
}

/* --- Booking CTA -------------------------------------------------------- */

.spa-cta__card {
	gap: 0.75rem;
	padding-block: 2.5rem;
}

.spa-cta__title {
	font-size: 1.5rem;
}

.spa-cta__card .btn {
	margin-top: 1rem;
}

/* --- Online booking ----------------------------------------------------- */

.spa-intro__actions {
	margin-top: 0.5rem;
}

.spa-booking__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	margin-bottom: 2.5rem;
	text-align: center;
}

/*
 * Amelia ships its own design, and this deliberately does not try to restyle
 * it: a booking form that half matches the site reads worse than one that is
 * plainly a booking form. What this does is give it a frame that belongs to the
 * page — the same cream, radius and shadow the price cards above it use — so it
 * arrives as part of the page rather than pasted onto it.
 */
.spa-booking__form {
	padding: 1rem;
	border: 1px solid rgba(196, 163, 90, 0.2);
	border-radius: 2rem;
	background: var(--wp--preset--color--brand-cream);
	box-shadow: var(--luxury-shadow);

	/*
	 * Containment, not decoration. Amelia lays out with fixed pixel widths in
	 * places, and on a 390px phone that would otherwise become a horizontally
	 * scrolling *page*. Keeping any overflow inside this frame is the one
	 * thing that must not be got wrong here.
	 */
	overflow-x: auto;
	overflow-y: visible;
	-webkit-overflow-scrolling: touch;
}

.spa-booking__form > * {
	max-width: 100%;
}

.spa-booking__form img {
	max-width: 100%;
	height: auto;
}

@media (min-width: 768px) {
	.spa-booking__form {
		padding: 2rem;
	}

	.spa-booking__head {
		margin-bottom: 3rem;
	}
}
