/* =============================================
   DEMO PAGE — page-specific styles
   Hero uses global .page-hero
   Section headers use global .section-hd-center
   3 cards use global .org-grid + .org-card-plain
   Trust bar uses global .trust-bar
   ============================================= */

/* ---------- FORM PANEL ----------
   These .ct-* rules mirror /contact.css for self-containment.
   Long-term consolidation: promote this block to /style.css so both pages share one source. */

.ct-form {
	max-width: 720px;
	margin: 0 auto;
	background: #fff;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border: 1px solid var(--ink-100);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}

/* Honeypot — hidden from users, catches bots */
.ct-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none;
}

/* Layout */
.ct-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

.ct-field {
	margin-bottom: 1.25rem;
}

.ct-row .ct-field {
	margin-bottom: 0;
}

.ct-row + .ct-field,
.ct-row + .ct-row {
	margin-top: 1.25rem;
}

/* Labels */
.ct-field label {
	display: block;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--ink-800);
	margin-bottom: 0.45rem;
}

.ct-req {
	color: var(--warn);
	font-weight: 700;
}

/* Inputs + textarea + select */
.ct-field input[type="text"],
.ct-field input[type="email"],
.ct-field input[type="tel"],
.ct-field select,
.ct-field textarea {
	width: 100%;
	padding: 0.75rem 0.9rem;
	font-family: var(--font);
	font-size: 0.95rem;
	color: var(--ink-900);
	background: var(--ink-50);
	border: 1px solid var(--ink-200);
	border-radius: 8px;
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
	color: var(--ink-400);
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
	outline: none;
	background: #fff;
	border-color: var(--brand-500);
	box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.12);
}

.ct-field textarea {
	resize: vertical;
	min-height: 110px;
	line-height: 1.5;
}

/* Custom select chevron */
.ct-field select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='none' stroke='%235E6C82' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/></svg>");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 12px;
	padding-right: 2.5rem;
	cursor: pointer;
}

/* Radio button group (Yes / No) */
.ct-radio-group {
	border: none;
	padding: 0;
	margin: 0 0 1.25rem;
}

.ct-radio-group legend {
	display: block;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--ink-800);
	margin-bottom: 0.45rem;
	padding: 0;
}

.ct-radio-options {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.ct-radio {
	flex: 1;
	min-width: 120px;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.75rem 1rem;
	background: var(--ink-50);
	border: 1px solid var(--ink-200);
	border-radius: 8px;
	cursor: pointer;
	font-size: 0.95rem;
	color: var(--ink-900);
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.ct-radio:hover {
	border-color: var(--brand-300);
}

.ct-radio input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ct-radio-mark {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid var(--ink-300);
	flex-shrink: 0;
	position: relative;
	transition: border-color 0.15s ease;
}

.ct-radio input[type="radio"]:checked + .ct-radio-mark {
	border-color: var(--brand-600);
}

.ct-radio input[type="radio"]:checked + .ct-radio-mark::after {
	content: '';
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: var(--brand-600);
}

.ct-radio:has(input:checked) {
	background: #fff;
	border-color: var(--brand-500);
	box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.12);
}

.ct-submit {
	margin-top: 0.75rem;
}

/* Form responsive */
@media (max-width: 600px) {
	.ct-row {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}
}

/* ---------- DEMO-SPECIFIC ---------- */
.dm-reassure {
	text-align: center;
	max-width: 600px;
	margin: 1.5rem auto 0;
	color: var(--ink-500);
	font-size: 0.92rem;
	font-style: italic;
}

/* Booking picker */
	.bk-picker {
		margin: 1.75rem 0;
	}

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

	@media (max-width: 700px) {
		.bk-grid {
			grid-template-columns: 1fr;
		}
	}

	.bk-panel {
		background: #fff;
		border: 1px solid #e7eaf0;
		border-radius: 14px;
		padding: 1.25rem;
	}

	.bk-panel h4 {
		margin: 0 0 1rem;
		font-size: .95rem;
		font-weight: 600;
		color: #1a1f2b;
	}

	/* Calendar */
	.bk-cal-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: .75rem;
	}

	.bk-cal-head button {
		border: 1px solid #e7eaf0;
		background: #fff;
		width: 32px;
		height: 32px;
		border-radius: 8px;
		cursor: pointer;
		font-size: 1rem;
		color: #1a1f2b;
		line-height: 1;
	}

	.bk-cal-head button:disabled {
		opacity: .35;
		cursor: default;
	}

	.bk-cal-month {
		font-weight: 600;
		font-size: .95rem;
	}

	.bk-cal-dows,
	.bk-cal-days {
		display: grid;
		grid-template-columns: repeat(7, 1fr);
		gap: 4px;
	}

	.bk-cal-dows span {
		text-align: center;
		font-size: .72rem;
		color: #98a0ae;
		padding: 4px 0;
	}

	.bk-day {
		aspect-ratio: 1;
		border: none;
		background: #f4f6f9;
		border-radius: 8px;
		cursor: pointer;
		font-size: .85rem;
		color: #1a1f2b;
	}

	.bk-day:hover:not(:disabled) {
		background: #e6f1fb;
	}

	.bk-day:disabled {
		color: #c7ccd6;
		background: transparent;
		cursor: default;
	}

	.bk-day.is-selected {
		background: #185fa5;
		color: #fff;
	}

	.bk-day.is-empty {
		visibility: hidden;
	}

	/* Slots */
	.bk-slots {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		max-height: 260px;
		overflow-y: auto;
	}

	.bk-slot {
		border: 1px solid #d4dae4;
		background: #fff;
		padding: 10px;
		border-radius: 8px;
		cursor: pointer;
		font-size: .9rem;
		color: #1a1f2b;
	}

	.bk-slot:hover {
		border-color: #185fa5;
	}

	.bk-slot.is-selected {
		background: #185fa5;
		color: #fff;
		border-color: #185fa5;
	}

	.bk-empty,
	.bk-loading {
		grid-column: 1 / -1;
		text-align: center;
		color: #98a0ae;
		font-size: .88rem;
		padding: 1.5rem 0;
	}

	.bk-chosen {
		margin: 1rem 0 0;
		padding: .85rem 1rem;
		background: #e6f1fb;
		border-radius: 10px;
		font-size: .9rem;
		color: #0c447c;
	}

	.bk-tz {
		font-size: .8rem;
		color: #98a0ae;
		margin-top: .35rem;
	}

	.bk-success {
		text-align: center;
		padding: 2rem 1rem;
	}

	.bk-success .bk-check {
		width: 56px;
		height: 56px;
		border-radius: 50%;
		background: #e1f5ee;
		color: #0f6e56;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		font-size: 1.6rem;
		margin-bottom: 1rem;
	}

	.bk-success a {
		color: #185fa5;
	}