/* RC51.16 — the plan builder, one step at a time. See bundle-wizard.js.
 * Everything is scoped to .c3bw, the class that script adds, so with the
 * script off this file does nothing. */

.c3bw [hidden] { display: none !important; }
.c3bw .c3bw-hidden { position: absolute !important; left: -9999px !important; }

.c3bw.c3bb-wrap {
	max-width: 760px;
	padding-bottom: 140px;
	font-family: inherit;
}

.c3bw .c3bb-hero h1 {
	font-size: clamp(30px, 6vw, 44px);
	line-height: 1.05;
	margin: 6px 0 10px;
}

.c3bw .c3bb-hero p { font-size: 16px; line-height: 1.55; }
.c3bw .c3bb-est-note { display: none; }

/* ---- progress ------------------------------------------------------------ */

.c3bw-progress {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
	margin: 22px 0 18px;
	padding: 0;
}

.c3bw-progress li { margin: 0; }

.c3bw-progress-btn {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding: 10px 0 0;
	border: 0;
	border-top: 4px solid #d5dce3;
	background: none;
	color: #6a7783;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	text-align: left;
	cursor: default;
}

.c3bw-progress-n { font-size: 12px; font-weight: 800; }
.c3bw-progress .is-current .c3bw-progress-btn { border-top-color: #c8102e; color: #0d1420; }
.c3bw-progress .is-done .c3bw-progress-btn { border-top-color: #0d1420; color: #0d1420; cursor: pointer; }
.c3bw-progress .is-done .c3bw-progress-btn:hover .c3bw-progress-l { text-decoration: underline; }
.c3bw-progress-btn:focus-visible { outline: 3px solid #f5b70a; outline-offset: 3px; }

.c3bw-title {
	font-size: clamp(24px, 4.6vw, 32px);
	line-height: 1.15;
	margin: 0 0 6px;
	color: #0d1420;
}

.c3bw-title:focus { outline: none; }

.c3bw-alert {
	margin: 12px 0 0;
	padding: 13px 15px;
	border-left: 4px solid #c8102e;
	background: #fdecea;
	color: #6d121c;
	font-size: 15px;
	line-height: 1.5;
	border-radius: 4px;
}

/* ---- cards and fields ----------------------------------------------------- */

.c3bw .c3bb-card {
	border: 0;
	padding: 0;
	margin: 18px 0 0;
	background: none;
}

.c3bw .c3bb-grid { grid-template-columns: 1fr; gap: 16px; }
.c3bw .c3bb-grid label { font-size: 15px; }

.c3bw .c3bb-grid input,
.c3bw .c3bb-grid select {
	padding: 13px 14px;
	font-size: 17px;
	border: 1.5px solid #aab5bf;
	border-radius: 6px;
	background: #fff;
	color: #0d1420;
}

.c3bw .c3bb-grid input:focus,
.c3bw .c3bb-grid select:focus,
.c3bw .c3bb-row input:focus,
.c3bw .c3bb-row select:focus {
	outline: 3px solid #f5b70a;
	outline-offset: 1px;
	border-color: #0d1420;
}

.c3bw-help {
	display: block;
	margin-top: 6px;
	font-size: 13.5px;
	font-weight: 400;
	line-height: 1.45;
	color: #5a6772;
}

.c3bw .c3bw-fp-needed input { border-color: #c8102e; }
.c3bw .c3bb-measure-row { margin: 0; }
.c3bw .c3bb-readout { display: block; margin-top: 10px; }

.c3bw-showpw {
	margin-top: 8px;
	padding: 6px 12px;
	border: 1px solid #aab5bf;
	border-radius: 5px;
	background: #fff;
	font: inherit;
	font-size: 13.5px;
	font-weight: 700;
	color: #0d1420;
	cursor: pointer;
}

/* ---- services --------------------------------------------------------------
   The whole heading row is the tap target, and a chosen service reads as
   chosen from across the room. Sizes and frequency only appear once picked. */

.c3bw .c3bb-services { gap: 10px; }

.c3bw .c3bb-service {
	padding: 0;
	border: 1.5px solid #c9d2da;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}

.c3bw .c3bb-service-head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 16px 4px;
	font-size: 18px;
}

.c3bw .c3bb-service-head input { width: 24px; height: 24px; flex: none; }
.c3bw .c3bb-service > p { margin: 0; padding: 0 16px 14px 54px; font-size: 14.5px; line-height: 1.45; }
.c3bw .c3bb-service .c3bb-row,
.c3bw .c3bb-service .c3bw-help,
.c3bw .c3bb-service .c3bb-row-price { display: none; }

.c3bw .c3bb-service.c3bb-selected {
	border-color: #c8102e;
	box-shadow: inset 5px 0 0 #c8102e;
}

/* RC51.17: question on top, answer underneath, both on the left. The answer
   used to sit at the far right edge of the card. */
.c3bw .c3bb-service.c3bb-selected .c3bb-row {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 7px;
	margin: 0;
	padding: 14px 16px 0 54px;
}

.c3bw .c3bb-service.c3bb-selected .c3bb-row label { font-weight: 700; }
.c3bw .c3bb-service.c3bb-selected .c3bb-custom-row input { width: 100%; box-sizing: border-box; }

.c3bw-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.c3bw-chip {
	padding: 10px 14px;
	border: 1.5px solid #aab5bf;
	border-radius: 6px;
	background: #fff;
	color: #0d1420;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.c3bw-chip[aria-pressed="true"] { border-color: #0d1420; background: #0d1420; color: #fff; }
.c3bw-chip:focus-visible, .c3bw-linkbtn:focus-visible { outline: 3px solid #f5b70a; outline-offset: 2px; }

.c3bw-measured {
	margin: 0 0 14px;
	padding: 12px 14px;
	border-left: 4px solid #0d1420;
	background: #f6f5f2;
	font-size: 15px;
	line-height: 1.5;
	color: #0d1420;
}

.c3bw-linkbtn {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-weight: 700;
	color: #c8102e;
	text-decoration: underline;
	cursor: pointer;
}

.c3bw .c3bb-row-price strong { display: block; }
.c3bw-how { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 400; color: #4a5762; }

.c3bw .c3bb-service.c3bb-selected .c3bb-row label { font-size: 14.5px; color: #33404b; }
.c3bw .c3bb-service.c3bb-selected .c3bb-row select,
.c3bw .c3bb-service.c3bb-selected .c3bb-row input { padding: 9px 10px; font-size: 16px; border: 1.5px solid #aab5bf; }
.c3bw .c3bb-service.c3bb-selected .c3bb-row input[type="number"] { width: 130px; }
.c3bw .c3bb-service.c3bb-selected .c3bw-help { display: block; padding: 0 16px 0 54px; }

.c3bw .c3bb-service.c3bb-selected .c3bb-row-price {
	display: block;
	margin-top: 12px;
	padding: 12px 16px 12px 54px;
	background: #f6f5f2;
	font-size: 17px;
	font-weight: 800;
	color: #0d1420;
}

.c3bw .c3bb-service .c3bb-note { padding: 0 16px 14px 54px; margin: 0; }

.c3bw-advanced {
	margin: 16px 0 0;
	padding: 14px 16px;
	border: 1.5px dashed #c9d2da;
	border-radius: 8px;
}

.c3bw-advanced summary { font-weight: 700; font-size: 15px; cursor: pointer; color: #0d1420; }
.c3bw-advanced[open] summary { margin-bottom: 10px; }
.c3bw .c3bw-advanced .c3bb-grid { grid-template-columns: 1fr 1fr; }

.c3bw [data-c3bb-founder] {
	margin-top: 16px;
	padding: 16px;
	border: 1.5px solid #c9d2da;
	border-radius: 8px;
	background: #fff;
}

/* ---- review ------------------------------------------------------------------ */

.c3bw .c3bb-summary {
	padding: 20px;
	border-radius: 8px;
	background: #0d1420;
}

.c3bw .c3bb-summary li { font-size: 15.5px; padding: 9px 0; gap: 12px; }
.c3bw .c3bb-total strong { font-size: 32px; }
.c3bw .c3bb-agreement h3 { font-size: 18px; margin: 4px 0 10px; }
.c3bw .c3bb-agreement-box { max-height: 220px; }
.c3bw .c3bb-agree { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.c3bw .c3bb-agree input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: #c8102e; }
.c3bw .c3bb-agreement > label > span { display: block; font-size: 15px; font-weight: 700; margin-bottom: 6px; }

.c3bw .c3bb-agreement input[name="signature_name"] {
	width: 100%;
	box-sizing: border-box;
	padding: 13px 14px;
	font-size: 17px;
	border: 1.5px solid #aab5bf;
	border-radius: 6px;
}

.c3bw .c3bb-card[data-c3bb-step="sign"] > .c3bb-btn {
	width: 100%;
	margin-top: 14px;
	padding: 17px 18px;
	font-size: 18px;
	border-radius: 6px;
}

/* ---- the bar that carries the price -------------------------------------------- */

.c3bw-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99998;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px max(16px, calc((100% - 760px) / 2 + 20px));
	padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
	background: #0d1420;
	color: #fff;
	box-shadow: 0 -6px 22px rgba(13, 20, 32, .22);
}

.c3bw-bar-text { flex: 1; min-width: 0; line-height: 1.25; }
.c3bw-bar-total { display: block; font-size: 22px; font-weight: 800; }
.c3bw-bar-note { display: block; font-size: 13px; color: #b9c4cd; }
.c3bw-bar.is-first .c3bw-bar-text { visibility: hidden; }

.c3bw-next,
.c3bw-back {
	flex: none;
	border: 0;
	border-radius: 6px;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.c3bw-next { padding: 15px 22px; font-size: 17px; background: #c8102e; color: #fff; }
.c3bw-next:hover { background: #a80d26; }
.c3bw-next:disabled { background: #5d6975; cursor: progress; }
.c3bw-back { padding: 15px 14px; font-size: 15px; background: none; color: #dbe2e8; text-decoration: underline; }
.c3bw-next:focus-visible, .c3bw-back:focus-visible { outline: 3px solid #f5b70a; outline-offset: 3px; }

/* The site's own call bar sits in the same place on a phone. On this one page
   the price and the Continue button matter more. */
body.c3bw-active .c3-mobile-actions { display: none !important; }

@media (max-width: 520px) {
	.c3bw-progress-l { font-size: 12px; }
	.c3bw .c3bw-advanced .c3bb-grid { grid-template-columns: 1fr; }
	.c3bw-bar-total { font-size: 19px; }
	.c3bw-next { padding: 15px 16px; }
}

@media (prefers-reduced-motion: no-preference) {
	.c3bw .c3bb-service { transition: border-color .12s ease, box-shadow .12s ease; }
}

/* The note under the custom-schedule box sits inside a row that is already
   indented; without this it was indented twice. */
.c3bw .c3bb-service.c3bb-selected .c3bb-custom-row .c3bw-help { padding: 0; }
