/* Elimu Sasa book a call.
   Tokens from the active design: ink #1B1642, ember #F15A24, brand #2E2380,
   Archivo headings, Manrope body. */

.esa-bk {
	--ink: #1B1642;
	--muted: #55507E;
	--soft: #7C77A8;
	--accent: #F15A24;
	--accent-hover: #D8480F;
	--tint: #FFEDE4;
	--border: #E7E4F2;
	--stroke: #DCD8EE;
	--surface: #F7F6FC;
	--surface-alt: #FBFAFF;

	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 24px;
	font-family: Manrope, sans-serif;
	color: var(--muted);
	text-align: left;
	width: 100%;
}

.esa-bk__aside { flex: 1 1 330px; min-width: 280px; display: flex; flex-direction: column; gap: 20px; }
.esa-bk__main  { flex: 2 1 560px; min-width: 300px; }

/* ---------- Cards ---------- */
.esa-bk__card {
	background: #FFFFFF;
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 24px;
	margin: 0;
}
.esa-bk__card--accent { background: var(--tint); border-color: #FFC7AC; }

.esa-bk h3.esa-bk__h,
.esa-bk legend.esa-bk__h {
	font-family: Archivo, sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.3;
	color: var(--ink);
	margin: 0 0 14px;
	padding: 0;
	float: none;
	width: auto;
}
.esa-bk__card--accent .esa-bk__h { color: #C7420F; }
.esa-bk__card p { font-size: 15px; line-height: 1.6; margin: 0 0 12px; color: var(--muted); }
.esa-bk__card--accent p { color: #8a3a12; }

/* ---------- Call type radios ---------- */
.esa-bk fieldset.esa-bk__types { border: 1px solid var(--border); }
.esa-bk__types { display: flex; flex-direction: column; gap: 10px; }

.esa-bk label.esa-bk__type {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px 16px 16px 44px;
	border: 1.5px solid var(--stroke);
	border-radius: 12px;
	background: #FFFFFF;
	cursor: pointer;
	position: relative;
	transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}
.esa-bk label.esa-bk__type:hover { border-color: var(--accent); transform: translateY(-2px); }
.esa-bk label.esa-bk__type.is-active { border-color: var(--accent); background: var(--surface-alt); }

/* Real radio, visually replaced but still focusable and keyboard-driven */
.esa-bk__type input[type="radio"] {
	position: absolute;
	left: 16px;
	top: 19px;
	width: 18px;
	height: 18px;
	margin: 0;
	appearance: none;
	border: 2px solid var(--stroke);
	border-radius: 50%;
	background: #FFFFFF;
	cursor: pointer;
}
.esa-bk__type input[type="radio"]:checked { border-color: var(--accent); }
.esa-bk__type input[type="radio"]:checked::after {
	content: "";
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: var(--accent);
}
.esa-bk__type input[type="radio"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.esa-bk__type-main { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; }
.esa-bk__type-title { font-family: Archivo, sans-serif; font-weight: 700; font-size: 16px; color: var(--ink); }
.esa-bk__type-desc { font-size: 14px; line-height: 1.5; color: var(--muted); }
.esa-bk__type-dur {
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 700;
	color: var(--soft);
	white-space: nowrap;
	padding-top: 2px;
}
.esa-bk__type.is-active .esa-bk__type-dur { color: var(--accent); }

/* ---------- Cover list ---------- */
.esa-bk ul.esa-bk__covers { list-style: none; margin: 0; padding: 0; }
.esa-bk__covers li {
	position: relative;
	padding-left: 22px;
	margin-bottom: 12px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ink);
}
.esa-bk__covers li:last-child { margin-bottom: 0; }
.esa-bk__covers li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: var(--accent);
}

/* ---------- WhatsApp / phone ---------- */
.esa-bk a.esa-bk__wa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 13px 20px;
	border-radius: 8px;
	background-color: var(--accent);
	color: #FFFFFF;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	transition: background-color 200ms ease, transform 180ms ease;
}
.esa-bk a.esa-bk__wa:hover { background-color: var(--accent-hover); color: #FFFFFF; transform: translateY(-2px); }
.esa-bk a.esa-bk__phone {
	display: block;
	margin-top: 12px;
	font-family: Archivo, sans-serif;
	font-weight: 700;
	font-size: 17px;
	color: #C7420F;
	text-decoration: none;
}
.esa-bk a.esa-bk__phone:hover { color: var(--accent); }

/* ---------- Notice ---------- */
.esa-bk__notice {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	margin-bottom: 16px;
	border: 1px solid #FFC7AC;
	border-radius: 12px;
	background: var(--tint);
	font-size: 14px;
	line-height: 1.55;
	color: #8a3a12;
}
.esa-bk__notice-tag {
	flex: 0 0 auto;
	padding: 5px 11px;
	border-radius: 999px;
	background: var(--accent);
	color: #FFFFFF;
	font-family: Archivo, sans-serif;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.esa-bk__notice strong { color: #6d2d0c; }

/* ---------- Stage ---------- */
.esa-bk__stage {
	border: 1px solid var(--border);
	border-radius: 16px;
	background: #FFFFFF;
	overflow: hidden;
}
.esa-bk__embed { padding: 0; }
.esa-bk__fallback { padding: 40px 24px; text-align: center; font-size: 15px; color: var(--muted); }

/* ---------- Layout preview ---------- */
.esa-bk__preview-grid { display: flex; flex-wrap: wrap; }
.esa-bk__brand {
	flex: 1 1 300px;
	min-width: 260px;
	padding: 28px;
	border-right: 1px solid var(--border);
}
.esa-bk__cal-col { flex: 1 1 320px; min-width: 280px; padding: 28px; }

.esa-bk img.esa-bk__logo {
	width: 56px;
	height: 56px;
	max-width: 56px;
	object-fit: contain;
	display: block;
	margin: 0 0 14px;
	border-radius: 8px;
}
.esa-bk__brand-name { display: block; font-size: 14px; font-weight: 600; color: var(--soft); }
.esa-bk h4.esa-bk__brand-title {
	font-family: Archivo, sans-serif;
	font-weight: 800;
	font-size: 26px;
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: var(--ink);
	margin: 4px 0 16px;
}
.esa-bk ul.esa-bk__facts { list-style: none; margin: 0 0 16px; padding: 0; }
.esa-bk__facts li {
	position: relative;
	padding-left: 18px;
	margin-bottom: 8px;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--ink);
}
.esa-bk__facts li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent);
}
.esa-bk p.esa-bk__brand-blurb { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* Calendar, inert on purpose */
.esa-bk-cal { pointer-events: none; user-select: none; }
.esa-bk-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.esa-bk-cal__month { font-family: Archivo, sans-serif; font-weight: 700; font-size: 17px; color: var(--ink); }
.esa-bk-cal__nav { display: flex; gap: 8px; }
.esa-bk-cal__nav span {
	width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--border); border-radius: 8px; color: var(--soft); font-size: 15px;
}
.esa-bk-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.esa-bk-cal__dow {
	font-family: Archivo, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
	color: var(--soft); text-align: center; padding-bottom: 6px;
}
.esa-bk-cal__pad { aspect-ratio: 1; }
.esa-bk-cal__day {
	aspect-ratio: 1;
	display: flex; align-items: center; justify-content: center;
	border-radius: 8px; font-size: 14px; font-weight: 600;
}
.esa-bk-cal__day.is-off { color: #B8B3D6; }
.esa-bk-cal__day.is-open { background: var(--tint); color: #C7420F; }
.esa-bk-cal__day.is-today { background: var(--accent); color: #FFFFFF; }

.esa-bk p.esa-bk__tz {
	display: flex; align-items: center; gap: 8px;
	font-size: 13px; color: var(--soft); margin: 16px 0 0;
}
.esa-bk p.esa-bk__tz::before {
	content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0;
}

/* Example slots */
.esa-bk__slots { padding: 24px 28px 28px; border-top: 1px solid var(--border); background: var(--surface); }
.esa-bk__slots-head {
	display: block; font-family: Archivo, sans-serif; font-weight: 700; font-size: 15px;
	color: var(--ink); margin-bottom: 12px;
}
.esa-bk__slot-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.esa-bk__slot {
	display: flex; align-items: center; justify-content: center;
	min-height: 48px; border: 1.5px solid var(--stroke); border-radius: 8px;
	background: #FFFFFF; color: var(--soft); font-size: 15px; font-weight: 700;
}
.esa-bk__slots-note { display: block; margin-top: 12px; font-size: 12.5px; color: var(--soft); }

.esa-bk p.esa-bk__foot { font-size: 13px; line-height: 1.6; color: var(--soft); margin: 14px 0 0; }

@media (max-width: 640px) {
	.esa-bk__brand { border-right: 0; border-bottom: 1px solid var(--border); }
	.esa-bk__card, .esa-bk__brand, .esa-bk__cal-col { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	.esa-bk label.esa-bk__type, .esa-bk a.esa-bk__wa { transition: none; }
	.esa-bk label.esa-bk__type:hover, .esa-bk a.esa-bk__wa:hover { transform: none; }
}
