/* ---------------------------------------------------------------------------
   Waiver Landing Page (page_waiver-help.php)
   All rules scoped under .waiver-lp-page. Uses :root brand tokens from style.css.
--------------------------------------------------------------------------- */

.waiver-lp-page.full-width-content .entry-content > .alignfull {
	margin-left: calc(-100vw / 2 + 100% / 2);
	margin-right: calc(-100vw / 2 + 100% / 2);
	max-width: 100vw;
}

.waiver-lp-page .entry-content section {
	margin-bottom: var(--section-spacing-large);
}

.waiver-lp-page .entry-content section > .wrap {
	max-width: 1200px;
	margin: auto;
	padding: 0 5%;
}

.waiver-lp-page .entry-content section > .wrap::before,
.waiver-lp-page .entry-content section > .wrap::after {
	display: none;
}

.waiver-lp-page h1,
.waiver-lp-page h2,
.waiver-lp-page h3 {
	text-wrap: balance;
}

.waiver-lp-page .entry-content p {
	text-wrap: pretty;
}


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

.waiver-lp-page .waiver-lp-hero {
	background-color: var(--color-navy);
	color: #fff;
	text-align: center;
	padding: var(--section-spacing-large) 0;
}

.waiver-lp-page .waiver-lp-hero-content {
	animation: waiver-lp-rise 550ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes waiver-lp-rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.waiver-lp-page .waiver-lp-hero h1 {
	color: #fff;
	max-width: 800px;
	margin: 0 auto 20px;
}

.waiver-lp-page .waiver-lp-hero-sub {
	font-size: 20px;
	line-height: 30px;
	max-width: 720px;
	margin: 0 auto 30px;
}

.waiver-lp-page .waiver-lp-hero .wp-block-button {
	display: inline-block;
}

.waiver-lp-page .waiver-lp-trust-line {
	margin: 25px 0 0;
	font-size: 16px;
	color: var(--color-saffron);
}

/* Hero with featured image: text left, photo right */

.waiver-lp-page .waiver-lp-hero.has-photo {
	text-align: left;
}

.waiver-lp-page .waiver-lp-hero.has-photo > .wrap {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(30px, 5vw, 70px);
	align-items: center;
}

.waiver-lp-page .waiver-lp-hero.has-photo h1,
.waiver-lp-page .waiver-lp-hero.has-photo .waiver-lp-hero-sub {
	margin-left: 0;
	margin-right: 0;
}

.waiver-lp-page .waiver-lp-hero-photo img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 560px;
	object-fit: cover;
	border-radius: var(--radius-large);
	animation: waiver-lp-fade 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes waiver-lp-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}


/* Buttons: the theme's global button system (style.css) owns look and hover.
   Only focus visibility is added here.
--------------------------------------------------------------------------- */

.waiver-lp-page a:focus-visible,
.waiver-lp-page summary:focus-visible {
	outline: 3px solid var(--color-cerulean-blue);
	outline-offset: 2px;
}

.waiver-lp-page .waiver-lp-hero a:focus-visible,
.waiver-lp-page .waiver-lp-credibility a:focus-visible {
	outline-color: var(--color-saffron);
}


/* Empathy block
--------------------------------------------------------------------------- */

.waiver-lp-page .waiver-lp-empathy {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	padding: 0 5%;
}

.waiver-lp-page .waiver-lp-empathy p {
	font-size: 19px;
	line-height: 31px;
}


/* Steps
--------------------------------------------------------------------------- */

.waiver-lp-page .waiver-lp-steps {
	background-color: var(--color-light-gray);
	padding: var(--section-spacing-large) 0;
	text-align: center;
}

.waiver-lp-page .waiver-lp-steps-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin: 40px 0;
	text-align: left;
}

.waiver-lp-page .waiver-lp-step {
	background-color: #fff;
	border-radius: var(--radius-small);
	padding: 35px 30px;
	box-shadow: 0 2px 12px rgba(0, 68, 115, 0.06);
}

.waiver-lp-page .waiver-lp-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-full);
	background-color: var(--color-primary-yellow);
	color: var(--color-navy);
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 18px;
}

.waiver-lp-page .waiver-lp-step h3 {
	margin: 0 0 10px;
}

.waiver-lp-page .waiver-lp-step p {
	margin: 0;
}

.waiver-lp-page .waiver-lp-steps .wp-block-button {
	display: inline-block;
}


/* Questions checklist
--------------------------------------------------------------------------- */

.waiver-lp-page .waiver-lp-questions {
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 5%;
}

.waiver-lp-page .waiver-lp-questions h2 {
	text-align: center;
	margin-bottom: 40px;
}

.waiver-lp-page .waiver-lp-questions-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px 40px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.waiver-lp-page .waiver-lp-questions-list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	font-size: 18px;
	line-height: 28px;
	margin: 0;
}

.waiver-lp-page .waiver-lp-check {
	flex-shrink: 0;
	color: #6b8f00;
	margin-top: 2px;
}


/* Credibility band
--------------------------------------------------------------------------- */

.waiver-lp-page .waiver-lp-credibility {
	background-color: var(--color-navy);
	color: #fff;
	text-align: center;
	padding: var(--section-spacing-large) 0;
}

.waiver-lp-page .waiver-lp-credibility h2 {
	color: #fff;
}

.waiver-lp-page .waiver-lp-credibility p {
	max-width: 820px;
	margin: 20px auto 0;
	font-size: 19px;
	line-height: 31px;
}

.waiver-lp-page .waiver-lp-stats {
	display: flex;
	justify-content: center;
	gap: 60px;
	margin-top: 45px;
	flex-wrap: wrap;
}

.waiver-lp-page .waiver-lp-stat strong {
	display: block;
	font-size: 42px;
	line-height: 1.1;
	color: var(--color-primary-yellow);
}

.waiver-lp-page .waiver-lp-stat span {
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}


/* Webinar fallback
--------------------------------------------------------------------------- */

.waiver-lp-page .waiver-lp-webinar {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	padding: 0 5%;
}

.waiver-lp-page .waiver-lp-webinar .wp-block-button {
	display: inline-block;
	margin-top: 10px;
}


/* FAQ
--------------------------------------------------------------------------- */

.waiver-lp-page .waiver-lp-faq {
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 5%;
}

.waiver-lp-page .waiver-lp-faq h2 {
	text-align: center;
	margin-bottom: 40px;
}

.waiver-lp-page .waiver-lp-faq-item {
	border: 1px solid #ddd;
	border-radius: var(--radius-small);
	margin-bottom: 15px;
	background-color: #fff;
}

.waiver-lp-page .waiver-lp-faq-item summary {
	cursor: pointer;
	padding: 20px 56px 20px 25px;
	font-size: 18px;
	font-weight: 700;
	color: var(--color-navy);
	list-style: none;
	position: relative;
	transition: color 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.waiver-lp-page .waiver-lp-faq-item summary::-webkit-details-marker {
	display: none;
}

.waiver-lp-page .waiver-lp-faq-item summary::after {
	content: "";
	position: absolute;
	right: 25px;
	top: 50%;
	width: 10px;
	height: 10px;
	border-right: 3px solid var(--color-primary-orange);
	border-bottom: 3px solid var(--color-primary-orange);
	transform: translateY(-70%) rotate(45deg);
	transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.waiver-lp-page .waiver-lp-faq-item[open] summary::after {
	transform: translateY(-30%) rotate(225deg);
}

.waiver-lp-page .waiver-lp-faq-item summary:hover {
	color: var(--color-cerulean-blue);
}

/* The theme's global :focus rule outlines the summary on mouse click.
   Keep the ring for keyboard focus only. */
.waiver-lp-page .waiver-lp-faq-item summary:focus:not(:focus-visible) {
	outline: none;
}

.waiver-lp-page .waiver-lp-faq-item p {
	padding: 0 25px 20px;
	margin: 0;
}

.waiver-lp-page .waiver-lp-faq-item[open] p {
	animation: waiver-lp-rise 300ms cubic-bezier(0.22, 1, 0.36, 1) both;
}


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

.waiver-lp-page .entry-content section.waiver-lp-booking {
	background-color: var(--color-pale-yellow);
	padding: var(--section-spacing-large) 0;
	margin-bottom: 0;
	scroll-margin-top: 120px;
}

.waiver-lp-page .waiver-lp-booking h2,
.waiver-lp-page .waiver-lp-booking > .wrap > p {
	text-align: center;
}

.waiver-lp-page .waiver-lp-booking a {
	color: var(--color-navy);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.waiver-lp-page .waiver-lp-booking-embed {
	max-width: 640px;
	margin: 40px auto 0;
}

/* Gravity Forms field polish, scoped to the booking embed */

.waiver-lp-page .waiver-lp-booking-embed input[type="text"],
.waiver-lp-page .waiver-lp-booking-embed input[type="tel"],
.waiver-lp-page .waiver-lp-booking-embed input[type="email"],
.waiver-lp-page .waiver-lp-booking-embed select {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	background-color: #fff;
	border: 1px solid #b8a888;
	border-radius: var(--radius-small);
	transition: border-color 200ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.waiver-lp-page .waiver-lp-booking-embed input:focus,
.waiver-lp-page .waiver-lp-booking-embed select:focus {
	border-color: var(--color-navy);
	box-shadow: 0 0 0 3px rgba(0, 68, 115, 0.25);
	outline: none;
}

.waiver-lp-page .waiver-lp-booking-embed input[type="radio"] {
	accent-color: var(--color-primary-orange);
	width: 20px;
	height: 20px;
}

.waiver-lp-page .waiver-lp-booking-embed .gfield_radio label {
	padding: 6px 0;
}

/* Submit button inherits the theme's global input[type="submit"] system;
   only guarantee the touch target here. */
.waiver-lp-page .waiver-lp-booking-embed input[type="submit"] {
	min-height: 48px;
}

/* Post-submit confirmation card */

.waiver-lp-page .waiver-lp-booking-embed .gform_confirmation_message {
	display: block;
	background-color: #fff;
	border-radius: var(--radius-small);
	padding: clamp(35px, 5vw, 55px);
	text-align: center;
	box-shadow: 0 2px 12px rgba(0, 68, 115, 0.08);
	animation: waiver-lp-rise 400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.waiver-lp-page .waiver-lp-confirm-check {
	color: #6b8f00;
	margin-bottom: 15px;
}

.waiver-lp-page .waiver-lp-confirm h3 {
	color: var(--color-navy);
	margin: 0 0 15px;
}

.waiver-lp-page .waiver-lp-confirm p {
	font-size: 19px;
	line-height: 31px;
	max-width: 46ch;
	margin: 0 auto;
}

.waiver-lp-page .waiver-lp-confirm .waiver-lp-confirm-next {
	margin-top: 15px;
	font-size: 17px;
}

.waiver-lp-page .waiver-lp-confirm a {
	color: var(--color-navy);
	text-decoration: underline;
	text-underline-offset: 3px;
}


/* Responsive
--------------------------------------------------------------------------- */

@media screen and (max-width: 900px) {

	.waiver-lp-page .waiver-lp-hero.has-photo > .wrap {
		grid-template-columns: 1fr;
	}

	.waiver-lp-page .waiver-lp-hero-photo img {
		max-height: 340px;
	}

	.waiver-lp-page .waiver-lp-steps-grid {
		grid-template-columns: 1fr;
	}

	.waiver-lp-page .waiver-lp-questions-list {
		grid-template-columns: 1fr;
	}

	.waiver-lp-page .waiver-lp-stats {
		gap: 35px;
	}

}

@media screen and (max-width: 500px) {

	.waiver-lp-page .waiver-lp-hero-sub {
		font-size: 18px;
		line-height: 28px;
	}

	.waiver-lp-page .wp-block-button__link {
		padding: 16px 30px;
		font-size: 17px;
	}

	.waiver-lp-page .waiver-lp-stat strong {
		font-size: 34px;
	}

}


/* Reduced motion
--------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

	.waiver-lp-page .waiver-lp-hero-content,
	.waiver-lp-page .waiver-lp-hero-photo img,
	.waiver-lp-page .waiver-lp-faq-item[open] p,
	.waiver-lp-page .waiver-lp-booking-embed .gform_confirmation_message {
		animation: none;
	}

	.waiver-lp-page .waiver-lp-faq-item summary,
	.waiver-lp-page .waiver-lp-faq-item summary::after,
	.waiver-lp-page .waiver-lp-booking-embed input,
	.waiver-lp-page .waiver-lp-booking-embed select {
		transition: none;
	}

}
