/* ==========================================================================
   Book Service module — 2026 form styles
   Complements the site-wide styles.css (reuses --pink tokens, .btn classes).
   Scoped under .book to avoid clashing with other site components.
   ========================================================================== */
.book-page {
	padding: 26px 18px 40px;
}
.book {
	max-width: 860px;
	margin: 0 auto;
	color: var(--ink);
}
/* Intro copy under the section head */
.book-intro {
	max-width: 680px;
	margin: 0 auto 22px;
	text-align: center;
	font-size: 15.5px;
	line-height: 1.6;
	color: #6f6f6f;
}
/* Server / status messages ------------------------------------------------ */
.book-note {
	max-width: 680px;
	margin: 0 auto 20px;
	border-radius: 14px;
	padding: 14px 18px;
	font-size: 14.5px;
	line-height: 1.5;
}
.book-note.err {
	background: #fff2f2;
	border: 1px solid #f3b6c8;
	color: #b3216b;
}
.book-note.warn {
	background: var(--pink-pale);
	border: 1px solid var(--pink-soft);
	color: #8a3a63;
}
.book-note h4 {
	margin: 0;
	font-size: 15px;
	color: #c40b57;
}
/* Error summary banner shown on failed submit ----------------------------- */
.book-errsum {
	display: none;
	max-width: 820px;
	margin: 0 auto 20px;
	background: #fff2f2;
	border: 1px solid #f3b6c8;
	border-radius: 14px;
	padding: 14px 18px;
	color: #b3216b;
	font-size: 14.5px;
}
.book-errsum.show {
	display: block;
}
.book-errsum strong {
	display: block;
	margin-bottom: 6px;
	color: #c40b57;
}
.book-errsum ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 34px;
	row-gap: 2px;
	margin: 0;
	padding-left: 20px;
}
.book-errsum li {
	margin: 2px 0;
}
@media (max-width: 640px) {
	.book-errsum ul {
		grid-template-columns: 1fr;
	}
}
/* Segmented client-type toggle ------------------------------------------- */
.seg-wrap {
	text-align: center;
	margin: 0 auto 26px;
}
.seg-q {
	font-size: 16px;
	font-weight: bold;
	color: var(--brownink);
	margin: 0 0 16px;
}
/* Two distinct, obviously-clickable choice cards (matches the site nav cards). */
.seg {
	display: flex;
	gap: 16px;
	max-width: 520px;
	margin: 0 auto;
	justify-content: center;
	flex-wrap: wrap;
}
.seg .seg-opt {
	position: relative;
	flex: 1 1 210px;
	max-width: 250px;
	display: flex;
}
.seg input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}
.seg label {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	width: 100%;
	cursor: pointer;
	background: #fff;
	border: 2px solid var(--pink-soft);
	border-radius: 16px;
	padding: 20px 18px 20px;
	font-weight: bold;
	font-size: 17px;
	color: var(--brownink);
	line-height: 1.25;
	box-shadow: 0 3px 10px rgba(0, 0, 0, .07);
	transition: transform .15s, border-color .15s, box-shadow .15s, background .15s;
}
.seg label small {
	font-weight: normal;
	font-size: 13px;
	color: #8a6a78;
}
/* Icon badge on top (different per card) */
.seg label::before {
	content: "";
	width: 48px;
	height: 48px;
	margin-bottom: 8px;
	border-radius: 50%;
	background: var(--pink-pale) center/26px 26px no-repeat;
	transition: background-color .15s;
}
.seg .seg-opt:nth-child(1) label::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e0068c'%3E%3Cpath d='M8.35 3c-.94 0-1.7 1.05-1.7 2.35S7.41 7.7 8.35 7.7s1.7-1.05 1.7-2.35S9.29 3 8.35 3zm7.3 0c-.94 0-1.7 1.05-1.7 2.35S14.71 7.7 15.65 7.7s1.7-1.05 1.7-2.35S16.59 3 15.65 3zM4.4 7.05c-.94 0-1.7 1.05-1.7 2.35s.76 2.35 1.7 2.35 1.7-1.05 1.7-2.35-.76-2.35-1.7-2.35zm15.2 0c-.94 0-1.7 1.05-1.7 2.35s.76 2.35 1.7 2.35 1.7-1.05 1.7-2.35-.76-2.35-1.7-2.35zM12 9.7c-2.1 0-4.7 2.5-4.7 4.85 0 1.6 1.25 2.35 2.75 2.35.85 0 1.4-.3 1.95-.3s1.1.3 1.95.3c1.5 0 2.75-.75 2.75-2.35 0-2.35-2.6-4.85-4.7-4.85z'/%3E%3C/svg%3E");
}
.seg .seg-opt:nth-child(2) label::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e0068c'%3E%3Cpath d='M7 2v2H5c-1.1 0-2 .9-2 2v13c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-2V2h-2v2H9V2H7zm12 7v10H5V9h14z'/%3E%3C/svg%3E");
}
/* Explicit action cue so it reads as clickable */
.seg label .labelafter {
	margin-top: auto;
	padding-top: 10px;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: .6px;
	text-transform: uppercase;
	color: var(--pink);
}
.seg label:hover, .seg label:focus-within {
	transform: translateY(-4px);
	border-color: var(--pink);
	box-shadow: 0 12px 24px rgba(224, 6, 140, .20);
}
.seg label:hover::before {
	background-color: var(--pink-soft);
}
.seg label:hover::after {
	text-decoration: underline;
}
.seg input:checked + label {
	border-color: var(--pink);
	background: var(--pink-pale);
	box-shadow: 0 8px 20px rgba(224, 6, 140, .22);
}
.seg input:focus-visible + label {
	outline: 3px solid var(--pink-soft);
	outline-offset: 3px;
}
@media (max-width:520px) {
	.seg {
		gap: 12px;
	}
	.seg .seg-opt {
		flex: 1 1 100%;
		max-width: 420px;
	}
	.seg label {
		display: grid;
		grid-template-columns: 40px minmax(0, 1fr);
		grid-template-areas:
			"icon title"
			"icon description"
			"action action";
		column-gap: 12px;
		row-gap: 4px;
		align-items: center;
		padding: 16px 18px;
		font-size: 16px;
		text-align: left;
	}
	.seg label::before {
		grid-area: icon;
		margin-bottom: 0;
		width: 40px;
		height: 40px;
		background-size: 22px 22px;
	}
	.seg label .seg-title {
		grid-area: title;
	}
	.seg label small {
		grid-area: description;
	}
	.seg label .labelafter {
		grid-area: action;
		width: 100%;
		margin-top: 10px;
		padding: 20px 12px;
		border-radius: 999px;
		background: var(--pink-pale);
		text-align: center;
	}
}
/* Form panels ------------------------------------------------------------- */
.book-panel {
	display: none;
}

@media (max-width: 600px) {
	.book-panel {
		scroll-margin-top: 80px;
	}
}

.book-panel.active {
	display: block;
	animation: bookFade .35s ease both;
}
@keyframes bookFade {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
.book-panel h2.panel-title {
	text-align: center;
	font-size: clamp(20px, 3.4vw, 26px);
	color: var(--brownink);
	margin: 0 0 22px;
}
.book-panel h2.panel-title .accent {
	color: var(--pink);
}
/* Fieldset cards */
.fset {
	background: #fff;
	border: 1px solid var(--pink-soft);
	border-radius: 16px;
	padding: 18px 20px 20px;
	margin: 0 0 16px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
}
.fset legend {
	padding: 0;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--pink-mid);
	margin-bottom: 14px;
}
/* Field grid */
.grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 18px;
}
.grid .full {
	grid-column: 1 / -1;
}
.field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.field > label {
	font-size: 13px;
	font-weight: bold;
	color: var(--brownink);
}
.field .req-star {
	color: var(--pink);
	margin-left: 2px;
}
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
	width: 100%;
	font-family: var(--font);
	font-size: 15px;
	color: var(--ink);
	background: #fff;
	border: 1.5px solid #e3d3db;
	border-radius: 10px;
	padding: 11px 12px;
	transition: border-color .15s, box-shadow .15s;
}
.field textarea {
	resize: vertical;
	min-height: 90px;
	line-height: 1.5;
}
.field select {
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='%23d467a0'><path d='M7 10l5 5 5-5z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 34px;
}
.field input:focus, .field select:focus, .field textarea:focus {
	outline: none;
	border-color: var(--pink);
	box-shadow: 0 0 0 3px var(--pink-pale);
}
.field .hint {
	font-size: 12px;
	color: #9a8a92;
}
.field .err {
	display: none;
	font-size: 12.5px;
	color: #c40b57;
	font-weight: bold;
}
.field.invalid input, .field.invalid select, .field.invalid textarea {
	border-color: #e0068c;
	background: #fff6fa;
	box-shadow: 0 0 0 3px rgba(224, 6, 140, .12);
}
.field.invalid .err {
	display: block;
}
/* Pill radio groups (aggression, yes/no) */
.pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.pills .pill {
	position: relative;
}
.pills input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}
.pills label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	cursor: pointer;
	border: 1.5px solid #e3d3db;
	border-radius: 22px;
	padding: 9px 16px;
	font-size: 14px;
	font-weight: bold;
	color: var(--brownink);
	background: #fff;
	transition: .15s;
}
.pills label:hover {
	border-color: var(--pink);
	color: var(--pink);
}
.pills input:checked + label {
	background: var(--pink);
	border-color: var(--pink);
	color: #fff;
}
.pills input:focus-visible + label {
	outline: 3px solid var(--pink-soft);
	outline-offset: 2px;
}
.field.invalid .pills label {
	border-color: #e0068c;
}
.scale-hint {
	font-size: 12px;
	color: #9a8a92;
	margin-top: 2px;
}
/* Photo note / info callout */
.info-callout {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	background: var(--pink-pale);
	border: 1px solid var(--pink-soft);
	border-radius: 12px;
	padding: 12px 14px;
	font-size: 13.5px;
	color: #7a5a68;
	line-height: 1.5;
}
.info-callout svg {
	width: 20px;
	height: 20px;
	fill: var(--pink);
	flex: 0 0 auto;
	margin-top: 1px;
}
/* Policies box */
.policy-box {
	background: #fff;
	border: 1px solid var(--pink-soft);
	border-radius: 16px;
	padding: 6px 20px;
	margin: 0 0 16px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
}
.policy-box summary {
	cursor: pointer;
	list-style: none;
	padding: 14px 0;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--pink-mid);
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.policy-box summary::-webkit-details-marker {
	display: none;
}
.policy-box summary::after {
	content: "+";
	font-size: 20px;
	color: var(--pink);
	line-height: 1;
}
.policy-box[open] summary::after {
	content: "\2013";
}
.policy-body {
	font-size: 13px;
	line-height: 1.55;
	color: #5f5560;
	padding: 0 0 14px;
}
.policy-body strong {
	color: var(--brownink);
}
.policy-body ul {
	margin: 6px 0 12px 18px;
	padding: 0;
}
.policy-body li {
	margin: 3px 0;
}
/* Agreement row (confirm page) */
.agree {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	max-width: 640px;
	margin: 0 auto 8px;
	background: #fff;
	border: 1.5px solid var(--pink-soft);
	border-radius: 14px;
	padding: 16px 18px;
	cursor: pointer;
	transition: border-color .15s, box-shadow .15s;
}
.agree:hover {
	border-color: var(--pink);
}
.agree.invalid {
	border-color: #e0068c;
	box-shadow: 0 0 0 3px rgba(224, 6, 140, .12);
	background: #fff6fa;
}
.agree input {
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
	margin-top: 1px;
	accent-color: var(--pink);
	cursor: pointer;
}
.agree label {
	font-size: 14.5px;
	color: var(--brownink);
	line-height: 1.45;
	cursor: pointer;
}
.agree-err {
	display: none;
	text-align: center;
	color: #c40b57;
	font-weight: bold;
	font-size: 13.5px;
	margin: 4px 0 0;
}
.agree-err.show {
	display: block;
}
/* Action buttons row */
.book-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	align-items: center;
	margin: 22px 0 6px;
}
.book-actions .btn {
	min-width: 190px;
	padding: 14px 26px;
	font-size: 16px;
}
.book-actions .btn[disabled] {
	opacity: .6;
	cursor: default;
}
.book-actions {
	transition: opacity .3s ease, transform .3s ease;
}
.is-submitting .book-actions {
	opacity: 0;
	transform: translateY(8px);
	pointer-events: none;
}
.is-submitting .book-actions .btn[disabled] {
	opacity: 1;
}
.submit-working {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
	margin: 0 auto 18px;
	color: var(--pink-mid);
}
.submit-notice[hidden] {
	display: none;
}
.submit-spinner {
	width: 30px;
	height: 30px;
	border: 4px solid var(--pink-pale);
	border-top-color: var(--pink);
	border-radius: 50%;
	animation: submitSpin .8s linear infinite;
}
.submit-notice {
	opacity: 0;
	transform: translateY(10px) scale(.985);
	transition: opacity .35s ease, transform .35s ease;
}
.submit-notice.is-visible {
	opacity: 1;
	transform: none;
}
@keyframes submitSpin {
	to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
	.book-actions,
	.submit-notice { transition: none; }
	.submit-spinner { animation-duration: 1.8s; }
}
.book-legal {
	max-width: 600px;
	margin: 8px auto 0;
	text-align: center;
	font-size: 12.5px;
	color: #9a8a92;
	line-height: 1.5;
}
/* Confirm-page summary wrapper (styles come inline from template, this just frames it) */
.book-summary {
	max-width: 760px;
	margin: 0 auto 8px;
	overflow-x: auto;
}
.book-summary table {
	max-width: 100%;
}
/* Success page */
.book-success {
	max-width: 620px;
	margin: 0 auto;
	text-align: center;
}
.book-success .tick {
	width: 78px;
	height: 78px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: var(--pink-pale);
	display: flex;
	align-items: center;
	justify-content: center;
	animation: tickPop .45s ease-out both;
}
.book-success .tick svg {
	width: 42px;
	height: 42px;
	fill: var(--pink);
}
@keyframes tickPop {
	0% {
		transform: scale(.5);
		opacity: 0;
	}
	60% {
		transform: scale(1.08);
		opacity: 1;
	}
	100% {
		transform: scale(1);
	}
}
.book-success h1 {
	font-size: clamp(24px, 4vw, 32px);
	color: var(--brownink);
	margin: 0 0 10px;
}
.book-success h1 .accent {
	color: var(--pink);
}
.book-success p {
	font-size: 15.5px;
	color: #6f6f6f;
	line-height: 1.65;
	margin: 0 0 14px;
}
.book-success .oops {
	color: #c40b57;
}
@media (max-width:640px) {
	.grid {
		grid-template-columns: 1fr;
	}
	.book-actions .btn {
		width: 100%;
		min-width: 0;
	}
	.seg label {
		padding: 16px;
	}
}
/* "Choose a different option" — return to the chooser from a form panel */
.book-startover {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: 0;
	cursor: pointer;
	color: var(--pink-mid);
	font-family: var(--font);
	font-size: 13.5px;
	font-weight: bold;
	padding: 2px 0;
	margin: 0 0 8px;
}
.book-startover:hover {
	color: var(--pink);
	text-decoration: underline;
}
/* Confirm page (step 2) — clean review cards built from the submitted details */
.review {
	max-width: 720px;
	margin: 0 auto 22px;
	display: grid;
	gap: 14px;
}
.review-card {
	background: #fff;
	border: 1px solid var(--pink-soft);
	border-radius: 16px;
	padding: 16px 20px 18px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
}
.review-card h3 {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--pink-mid);
}
.review-dl {
	margin: 0;
	display: grid;
	grid-template-columns: 170px 1fr;
	gap: 9px 18px;
}
.review-dl dt {
	margin: 0;
	color: #8a6a78;
	font-size: 13px;
}
.review-dl dd {
	margin: 0;
	color: var(--ink);
	font-size: 14.5px;
	line-height: 1.5;
	word-break: break-word;
}
.review-editlink {
	max-width: 720px;
	margin: 0 auto 14px;
	text-align: right;
}
.review-editlink a {
	color: var(--pink-mid);
	font-weight: bold;
	font-size: 13.5px;
	text-decoration: none;
}
.review-editlink a:hover {
	color: var(--pink);
	text-decoration: underline;
}
@media (max-width:520px) {
	.review-dl {
		grid-template-columns: 1fr;
		gap: 1px 0;
	}
	.review-dl dt {
		margin-top: 9px;
	}
	.review-dl dd {
		font-weight: bold;
	}
	.review-editlink {
		text-align: center;
	}
}
/* ============================================================
   Confirm / review page (form_step2.php)
   ============================================================ */
html {
	scroll-behavior: smooth;
}
/* Give every stacked box the SAME width so they line up */
.book .book-intro,
.book .signoff-jump,
.book .review,
.book .agree,
.book .book-note {
	max-width: 700px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}
/* "Skip to the bottom" jump control */
.signoff-jump {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--pink-pale);
	border: 1.5px solid var(--pink-soft);
	border-radius: 12px;
	padding: 12px 18px;
	margin-bottom: 20px;
	color: var(--pink-mid);
	font-weight: bold;
	font-size: 14.5px;
	text-decoration: none;
	transition: .15s;
}
.signoff-jump strong {
	color: var(--pink);
}
.signoff-jump:hover {
	border-color: var(--pink);
	background: #fff;
}
.signoff-head {
	scroll-margin-top: 18px;
	text-align: center;
	color: var(--brownink);
	font-size: 18px;
	margin: 6px 0 16px;
}
/* Back-to-edit control at the very top (matches step 1's "Choose a different option") */
.book .book-top {
	max-width: 700px;
	width: 100%;
	margin: 0 auto 4px;
}
/* Attention flash fired by "Skip to the bottom" */
.flash-attn {
	animation: flashAttn 1.5s ease-in-out 2;
}
@keyframes flashAttn {
	0%, 100% {
		outline: 10px dashed transparent;
		outline-offset: 3px;
	}
	50% {
		outline: 10px dashed var(--pink);
		outline-offset: 3px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.flash-attn {
		animation: none;
		outline: 10px dashed var(--pink);
		outline-offset: 3px;
	}
}

/* ============================================================
   Per-entry content headers (form-step1.php hero band)
   Only the header matching the active entry is shown; the
   active one uses display:contents so it renders exactly like
   a plain hero (crumbs / h1 / heroline as direct .ov children).
   ============================================================ */
.hero-head{display:none;}
.hero-head.active{display:contents;}
.srps-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
