/* ============================================================
   New look - book a meeting (global, English)
   Loaded after new-look/base.css. The Hebrew site has no booking page, so this follows its contact page:
   the heading on the soft grey, a dashed band with the white calendar panel beside a soft column on what
   to expect, then what the demo covers in ruled cells, then the client logos.
   The HubSpot embed, the US/EU switch and the tabs keep their classes and script; this file only styles them.
   Every rule is scoped under .bk (the page <main>).
   ============================================================ */

/* The section is first, under the fixed bar */
.bk-book {
	padding-top: calc(68px + clamp(48px, 6vw, 88px));
	padding-bottom: 0;
}

.bk .bk-book .acn-head {
	max-width: 860px;
}

/* ---------- The band: the calendar panel, then the column beside it ---------- */
.bk .bk-book__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
	padding-inline: 0;
}

.bk .bk-book__panel {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border-inline-end: 1px solid var(--acn-line);
	background: #ffffff;
}

/* The bar over the calendar: what to do, and the US/EU switch */
.bk .bk-book__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 20px;
	padding: 20px clamp(20px, 2.4vw, 32px);
	border-bottom: 1px solid var(--acn-line);
}

.bk .bk-book__label {
	font-size: 1.125rem;
	font-weight: 500;
}

/* The calendar: HubSpot's frame fills the panel; a loader shows until it arrives */
.bk .bk-book__calendar {
	position: relative;
	flex: 1 1 auto;
	min-height: 680px;
}

.bk .tnv-book__widget-loader {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	background: #ffffff;
	color: var(--acn-muted);
	transition: opacity 0.3s ease;
}

.bk .tnv-book__widget-loader--hidden,
.bk .tnv-book__widget-body:has(iframe) .tnv-book__widget-loader:not(.tnv-book__widget-loader--force-show) {
	opacity: 0;
	pointer-events: none;
}

.bk .tnv-book__loader-spinner {
	width: 32px;
	height: 32px;
	border: 2.5px solid #ece4fa;
	border-top-color: var(--acn-accent);
	border-radius: 50%;
	animation: bk-spin 0.9s linear infinite;
}

.bk .tnv-book__loader-text {
	font-size: 0.9375rem;
}

@keyframes bk-spin {
	to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.bk .tnv-book__loader-spinner {
		animation-duration: 2s;
	}
}

.bk .tnv-book__widget-body .meetings-iframe-container {
	position: relative;
	z-index: 2;
	min-height: 680px;
}

.bk .tnv-book__widget-body .meetings-iframe-container iframe {
	display: block;
	width: 100% !important;
	min-height: 680px !important;
	border: 0 !important;
}

/* ---------- The column beside the calendar ---------- */
.bk .bk-book__aside {
	display: flex;
	flex-direction: column;
	padding: clamp(28px, 4.5vw, 56px) clamp(20px, 3.6vw, 56px);
}

.bk .bk-book__avatars {
	display: flex;
}

.bk .bk-book__avatars img {
	width: 44px;
	height: 44px;
	border: 2px solid #ffffff;
	border-radius: 50%;
	object-fit: cover;
	background: var(--acn-line);
}

.bk .bk-book__avatars img + img {
	margin-inline-start: -10px;
}

.bk .bk-book__intro {
	margin-top: 20px;
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.45;
}

.bk .bk-book__text {
	margin-top: 12px;
	color: var(--acn-muted);
	line-height: 1.7;
}

/* What to expect, between dashed rules */
.bk .bk-book__facts {
	margin-top: 28px;
	border-bottom: 1px dashed var(--acn-line);
}

.bk .bk-book__fact {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 4px 16px;
	padding-block: 16px;
	border-top: 1px dashed var(--acn-line);
	color: var(--acn-muted);
}

.bk .bk-book__fact b {
	color: var(--acn-ink);
	font-size: 1.125rem;
	font-weight: 500;
}

.bk .bk-book__more {
	margin-top: 24px;
	color: var(--acn-muted);
}

.bk .bk-book__more a {
	color: var(--acn-accent-hover);
}

/* ---------- The site's two-way switch (as on the homepage): the selected one filled in ink ----------
   The old sliding thumbs are not used; the script still positions them, unseen. */
.bk .bk-switch {
	position: relative;
	display: flex;
	gap: 4px;
	width: fit-content;
	max-width: 100%;
	padding: 5px;
	border: 1px solid var(--acn-line);
	border-radius: 999px;
	background: #ffffff;
}

.bk .tnv-book__region-thumb,
.bk .tnv-book-learn__tabs-thumb {
	display: none;
}

.bk .bk-switch__tab {
	min-height: 44px;
	padding: 8px 22px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--acn-muted);
	font: 500 0.9375rem/1.25 inherit;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.bk .bk-switch__tab:hover {
	color: var(--acn-ink);
}

.bk .bk-switch__tab[aria-selected="true"] {
	background: var(--acn-ink);
	color: #ffffff;
}

.bk .bk-switch--center {
	margin: 0 auto;
}

/* ---------- What we'll cover ---------- */

/* The logos section below brings its own space, so this one ends at its band */
.bk-learn {
	padding-bottom: 0;
}
.bk .bk-learn__intro {
	max-width: 640px;
	margin: 24px auto 48px;
	color: var(--acn-muted);
	font-size: 1.0625rem;
	line-height: 1.65;
	text-align: center;
}

/* The script fades the swapped text out and in */
.bk .tnv-book-learn__swap {
	transition: opacity 0.24s ease;
}

.bk .tnv-book-learn__swap--out {
	opacity: 0;
}

.bk .tnv-book-learn__hidden {
	display: none;
}

/* Three cells divided by thin lines */
.bk .bk-cells {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding-inline: 0;
}

.bk .bk-cell {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: clamp(24px, 3vw, 36px);
	border-inline-start: 1px solid var(--acn-line);
	background: #ffffff;
}

.bk .bk-cell:first-child {
	border-inline-start: 0;
}

/* The step number, after a short purple line */
.bk .bk-cell__num {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
	color: var(--acn-muted);
	font-size: 0.9375rem;
	font-variant-numeric: tabular-nums;
}

.bk .bk-cell__num::before {
	content: "";
	width: 16px;
	height: 2px;
	border-radius: 2px;
	background: var(--acn-accent);
}

.bk .bk-cell__title {
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.4;
}

.bk .bk-cell__text {
	color: var(--acn-muted);
	line-height: 1.65;
}

/* ---------- Responsive ---------- */
@media (max-width: 1099px) {
	.bk .bk-book__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.bk .bk-book__panel {
		border-inline-end: 0;
		border-bottom: 1px solid var(--acn-line);
	}

	.bk .bk-book__calendar,
	.bk .tnv-book__widget-body .meetings-iframe-container,
	.bk .tnv-book__widget-body .meetings-iframe-container iframe {
		min-height: 720px !important;
	}
}

@media (max-width: 767px) {
	.bk .bk-cells {
		grid-template-columns: minmax(0, 1fr);
	}

	.bk .bk-cell {
		border-inline-start: 0;
	}

	.bk .bk-cell + .bk-cell {
		border-top: 1px solid var(--acn-line);
	}

	.bk .bk-switch--center {
		width: 100%;
	}

	.bk .bk-switch--center .bk-switch__tab {
		flex: 1 1 0;
		padding-inline: 12px;
	}
}
