/* ==========================================================================
   Book section: a dark banner (program / how-it-works info) followed by the
   booking form card. Used on every program page and on the Booking Form page.
   ========================================================================== */

/* ---------- Book this program (booking form at the end of the page) ---------- */

.book-section {
	padding-block: clamp(48px, 6vw, 88px);
	background:
		radial-gradient(40% 50% at 0% 0%, rgba(159, 217, 79, 0.12), transparent 70%),
		var(--sand);
	scroll-margin-top: 90px;
}

/* Left: dark panel with the key facts. */
.book-section__info {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: clamp(28px, 3.6vw, 48px);
	background:
		radial-gradient(70% 50% at 100% 0%, rgba(159, 217, 79, 0.16), transparent 70%),
		radial-gradient(60% 40% at 0% 100%, rgba(232, 89, 79, 0.16), transparent 70%),
		var(--ink);
	color: rgba(255, 255, 255, 0.75);
	isolation: isolate;
}

/* The program photo fades in behind the lower half of the panel. */
.book-section__info::before {
	content: "";
	position: absolute;
	inset: 40% 0 0;
	z-index: -1;
	background: var(--book-img) center / cover no-repeat;
	opacity: 0.28;
	-webkit-mask-image: linear-gradient(transparent, #000 55%);
	mask-image: linear-gradient(transparent, #000 55%);
	transition: opacity 0.6s ease, transform 1.2s var(--ease);
}

.book-section__info {
	overflow: hidden;
}

.book-section__info .eyebrow {
	margin: 0;
}

.book-section__title {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem);
	font-weight: 500;
	line-height: 1.15;
	color: #fff;
}

.book-section__title em {
	display: block;
	color: var(--lime);
}

.book-section__lead {
	margin: 0;
	font-size: var(--fs-sm);
	line-height: 1.7;
}

.book-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.book-facts li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--line-light);
	font-weight: 700;
	font-size: 0.9rem;
	color: #fff;
	transition: background 0.35s ease, border-color 0.35s ease, transform 0.4s var(--ease);
}

.book-facts li:hover {
	transform: translateY(-3px);
	background: rgba(159, 217, 79, 0.1);
	border-color: rgba(159, 217, 79, 0.45);
}

.book-facts li > span:last-child {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.book-facts small {
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
}

.book-facts__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 11px;
	background: rgba(159, 217, 79, 0.15);
	color: var(--lime);
}

.book-facts__icon .icon {
	width: 18px;
	height: 18px;
}

.book-promise {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--fs-sm);
}

.book-promise li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.book-promise .icon {
	flex: none;
	width: 22px;
	height: 22px;
	padding: 4px;
	border-radius: 50%;
	background: var(--lime);
	color: var(--ink);
	stroke-width: 3;
}

.book-section__help {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
	padding: 14px 16px;
	border-radius: var(--radius);
	background: rgba(37, 211, 102, 0.1);
	border: 1px solid rgba(37, 211, 102, 0.35);
	color: #fff;
	font-weight: 800;
	text-decoration: none;
	transition: background 0.35s ease, transform 0.4s var(--ease);
}

.book-section__help:hover,
.book-section__help:focus-visible {
	background: #25d366;
	transform: translateY(-3px);
}

.book-section__help small {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.7);
}

.book-section__help-icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	transition: background 0.35s ease, color 0.35s ease;
}

.book-section__help:hover .book-section__help-icon {
	background: #fff;
	color: #25d366;
}

.book-section__help-icon .icon {
	width: 22px;
	height: 22px;
}

@media (max-width: 559px) {
	.book-facts {
		grid-template-columns: 1fr;
	}

	.book-section .container {
		padding-inline: 10px;
	}
}

/* ---------- Book section v2: program banner first, booking form below ---------- */

.book-section__info {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: start;
	padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 56px) clamp(90px, 9vw, 120px);
	border-radius: var(--radius-lg);
	box-shadow: 0 40px 80px -50px rgba(15, 36, 29, 0.7);
}

/* Program photo on the right, fading into the green. */
.book-section__info::before {
	inset: 0 0 0 35%;
	opacity: 0.22;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
	mask-image: linear-gradient(90deg, transparent, #000 60%);
}

.book-section__info:hover::before {
	opacity: 0.3;
	transform: scale(1.03);
}

.book-section__intro,
.book-section__details {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.book-section__intro .book-section__help {
	align-self: flex-start;
	margin-top: 4px;
}

/* Promises as a neat two-column list under the facts. */
.book-section__details .book-promise {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 18px;
}

/* The form card overlaps the bottom of the banner. */
.book-section__form {
	position: relative;
	z-index: 1;
	max-width: 940px;
	margin: calc(-1 * clamp(56px, 6vw, 80px)) auto 0;
	padding: clamp(20px, 3vw, 36px);
	border-radius: var(--radius-lg);
	background: var(--cream);
	border: 1px solid var(--line);
	box-shadow: 0 40px 80px -40px rgba(15, 36, 29, 0.45);
}

.book-section__form-head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 22px;
	padding-bottom: 18px;
	border-bottom: 1px dashed var(--line);
}

.book-section__form-head h3 {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.9rem);
	font-weight: 500;
	color: var(--ink);
}

.book-section__form-head p {
	margin: 2px 0 0;
	font-size: 0.86rem;
	color: var(--muted);
}

.book-section__form-icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--coral), var(--saffron));
	color: #fff;
	box-shadow: 0 12px 24px -12px rgba(196, 59, 51, 0.8);
}

.book-section__form-icon .icon {
	width: 24px;
	height: 24px;
}

@media (max-width: 1023px) {
	.book-section__info {
		grid-template-columns: 1fr;
	}

	.book-section__info::before {
		inset: 45% 0 0;
		-webkit-mask-image: linear-gradient(transparent, #000 55%);
		mask-image: linear-gradient(transparent, #000 55%);
	}
}

@media (max-width: 559px) {
	.book-section__details .book-promise {
		grid-template-columns: 1fr;
	}

	.book-section__form {
		padding: 16px 12px;
		margin-inline: 4px;
	}
}

/* ---------- Booking Form page: how-it-works steps + contact buttons ---------- */

.book-section--page {
	padding-top: clamp(40px, 5vw, 64px);
}

.book-section__contact {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.book-section__call {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--line-light);
	color: #fff;
	font-weight: 800;
	text-decoration: none;
	transition: background 0.35s ease, transform 0.4s var(--ease);
}

.book-section__call:hover {
	background: rgba(255, 255, 255, 0.14);
	transform: translateY(-3px);
}

.book-section__call small {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.7);
}

.book-section__call .book-section__help-icon {
	background: var(--saffron);
	color: var(--ink);
}

.book-steps {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.book-steps li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--line-light);
	color: #fff;
	transition: background 0.35s ease, border-color 0.35s ease, transform 0.4s var(--ease);
}

.book-steps li:hover {
	transform: translateX(6px);
	background: rgba(159, 217, 79, 0.1);
	border-color: rgba(159, 217, 79, 0.45);
}

.book-steps__num {
	flex: none;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--lime);
	color: var(--ink);
	font-weight: 800;
}

.book-steps__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: rgba(159, 217, 79, 0.15);
	color: var(--lime);
}

.book-steps__icon .icon {
	width: 20px;
	height: 20px;
}

.book-steps strong {
	display: block;
	font-size: 1rem;
}

.book-steps small {
	font-size: 0.84rem;
	color: rgba(255, 255, 255, 0.7);
}

.book-promise a {
	color: var(--lime);
	font-weight: 700;
}
