/* BSS Product Showcase — homepage.
   Palette taken from the Booking Service System logo: navy, signal blue, confirm green. */

.bss-home,
.bss-home .bss-catalog {
	--bss-ink: #0a1a4a;
	--bss-brand: #1668ff;
	--bss-brand-dark: #0f4fd1;
	--bss-muted: #55688a;
	--bss-line: #dde5f0;
	--bss-wash: #f1f4f9;
	--bss-go: #1fa34a;
	--bss-go-soft: #e7f6ec;

	margin: 0;
	padding: 0;
	max-width: none;
	line-height: 1.6;
	overflow-x: clip;
}

.bss-home > section {
	padding-inline: max(20px, calc((100% - 1180px) / 2));
}

/* Hero -------------------------------------------------------------------- */

.bss-hero {
	display: grid;
	gap: clamp(36px, 6vw, 72px);
	align-items: center;
	padding-block: clamp(48px, 7vw, 96px);
}

@media (min-width: 940px) {
	.bss-hero {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	}
}

.bss-hero__title {
	margin: 0 0 20px;
	font-size: clamp(2.15rem, 1.3rem + 3.4vw, 3.55rem);
	line-height: 1.04;
	letter-spacing: -0.032em;
	font-weight: 700;
	color: var(--bss-ink);
	max-width: 16ch;
	text-wrap: balance;
}

.bss-hero__sub {
	margin: 0 0 30px;
	max-width: 52ch;
	font-size: clamp(1.02rem, 0.97rem + 0.3vw, 1.15rem);
	line-height: 1.62;
	color: var(--bss-muted);
}

.bss-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.bss-hero__note {
	margin: 22px 0 0;
	padding-left: 24px;
	position: relative;
	font-size: 0.9rem;
	color: var(--bss-muted);
	max-width: 46ch;
}

.bss-hero__note::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 6px;
	width: 6px;
	height: 11px;
	border-right: 2px solid var(--bss-go);
	border-bottom: 2px solid var(--bss-go);
	transform: rotate(45deg);
}

.bss-home .bss-btn--lg {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 0;
	padding: 14px 26px;
	font-size: 1rem;
	border-radius: 10px;
}

.bss-home .bss-btn--ghost {
	color: var(--bss-ink);
	background: #fff;
	box-shadow: inset 0 0 0 1.5px var(--bss-line);
}

.bss-home .bss-btn--ghost:hover {
	color: var(--bss-brand);
	background: #fff;
	box-shadow: inset 0 0 0 1.5px var(--bss-brand);
}

.bss-home .bss-btn--go {
	background: var(--bss-go);
}

.bss-home .bss-btn--go:hover {
	background: #17833b;
}

/* Hero stage: the job card, with the logo's motion streaks behind it ------- */

.bss-hero__stage {
	position: relative;
	isolation: isolate;
}

.bss-streaks {
	position: absolute;
	z-index: -1;
	left: -18px;
	top: 26%;
	display: grid;
	gap: 9px;
	width: 84px;
}

.bss-streaks span {
	display: block;
	height: 9px;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(10, 26, 74, 0) 0%, var(--bss-brand) 100%);
}

.bss-streaks span:nth-child(1) { width: 40%; }
.bss-streaks span:nth-child(2) { width: 72%; }
.bss-streaks span:nth-child(3) { width: 100%; }
.bss-streaks span:nth-child(4) { width: 56%; }

.bss-job {
	position: relative;
	padding: 26px 26px 22px;
	background: #fff;
	border: 1px solid var(--bss-line);
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(10, 26, 74, 0.06), 0 18px 44px -18px rgba(10, 26, 74, 0.28);
}

.bss-job::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 14px -14px -14px 14px;
	background: #fff;
	border: 1px solid var(--bss-line);
	border-radius: 16px;
	opacity: 0.65;
}

.bss-job__status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	padding: 5px 12px 5px 10px;
	font-size: 0.82rem;
	font-weight: 650;
	color: #12632e;
	background: var(--bss-go-soft);
	border-radius: 999px;
}

.bss-job__status::before {
	content: "";
	width: 6px;
	height: 11px;
	border-right: 2.5px solid var(--bss-go);
	border-bottom: 2.5px solid var(--bss-go);
	transform: rotate(45deg) translate(-1px, -1px);
}

.bss-job__service {
	margin: 0 0 18px;
	font-size: 1.24rem;
	line-height: 1.3;
	letter-spacing: -0.015em;
	font-weight: 650;
	color: var(--bss-ink);
}

.bss-job__rows {
	margin: 0;
	border-top: 1px solid var(--bss-line);
}

.bss-job__rows > div {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	justify-content: space-between;
	align-items: baseline;
	padding: 11px 0;
	border-bottom: 1px solid var(--bss-line);
}

.bss-job__rows dt {
	margin: 0;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--bss-muted);
}

.bss-job__rows dd {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 550;
	color: var(--bss-ink);
	text-align: right;
}

.bss-job__price {
	font-size: 1.22rem !important;
	font-weight: 700 !important;
	font-variant-numeric: tabular-nums;
	color: var(--bss-brand) !important;
}

.bss-job__meta {
	margin: 14px 0 0;
	font-size: 0.84rem;
	line-height: 1.5;
	color: var(--bss-muted);
}

/* Sections ---------------------------------------------------------------- */

.bss-section {
	padding-block: clamp(52px, 6.5vw, 88px);
}

.bss-section--wash {
	background: var(--bss-wash);
	border-block: 1px solid var(--bss-line);
}

.bss-section__head {
	margin-bottom: 34px;
}

.bss-section__title {
	margin: 0 0 12px;
	font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem);
	line-height: 1.15;
	letter-spacing: -0.025em;
	font-weight: 700;
	color: var(--bss-ink);
	max-width: 20ch;
	text-wrap: balance;
}

.bss-section__sub {
	margin: 0;
	max-width: 58ch;
	color: var(--bss-muted);
}

/* Steps ------------------------------------------------------------------- */

.bss-steps {
	display: grid;
	gap: 28px;
	margin: 34px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

@media (min-width: 820px) {
	.bss-steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 40px;
	}
}

.bss-step {
	position: relative;
	padding-top: 22px;
	border-top: 2px solid var(--bss-brand);
}

.bss-step__n {
	position: absolute;
	top: -15px;
	left: 0;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	font-size: 0.85rem;
	font-weight: 700;
	color: #fff;
	background: var(--bss-ink);
	border-radius: 8px;
}

.bss-step__title {
	margin: 12px 0 8px;
	font-size: 1.1rem;
	font-weight: 650;
	letter-spacing: -0.01em;
	color: var(--bss-ink);
}

.bss-step__text {
	margin: 0;
	max-width: 42ch;
	font-size: 0.96rem;
	color: var(--bss-muted);
}

/* Why + trades ------------------------------------------------------------ */

.bss-why {
	display: grid;
	gap: 26px;
	margin-top: 34px;
}

@media (min-width: 820px) {
	.bss-why {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 36px;
	}
}

.bss-why__item h3 {
	margin: 0 0 8px;
	font-size: 1.08rem;
	font-weight: 650;
	letter-spacing: -0.01em;
	color: var(--bss-ink);
}

.bss-why__item p {
	margin: 0;
	max-width: 44ch;
	font-size: 0.96rem;
	color: var(--bss-muted);
}

.bss-trades {
	margin-top: 52px;
	padding-top: 30px;
	border-top: 1px solid var(--bss-line);
}

.bss-trades__title {
	margin: 0 0 16px;
	font-size: 0.95rem;
	font-weight: 650;
	color: var(--bss-ink);
}

.bss-trades__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bss-trades__list li {
	position: relative;
	padding: 8px 14px 8px 30px;
	font-size: 0.9rem;
	color: var(--bss-ink);
	background: #fff;
	border: 1px solid var(--bss-line);
	border-radius: 999px;
}

.bss-trades__list li::before {
	content: "";
	position: absolute;
	left: 13px;
	top: 12px;
	width: 5px;
	height: 9px;
	border-right: 2px solid var(--bss-go);
	border-bottom: 2px solid var(--bss-go);
	transform: rotate(45deg);
}

/* FAQ --------------------------------------------------------------------- */

.bss-faq {
	max-width: 760px;
	margin-top: 30px;
}

.bss-faq__item {
	border-bottom: 1px solid var(--bss-line);
}

.bss-faq__item summary {
	position: relative;
	padding: 18px 44px 18px 0;
	font-size: 1.04rem;
	font-weight: 650;
	color: var(--bss-ink);
	cursor: pointer;
	list-style: none;
}

.bss-faq__item summary::-webkit-details-marker {
	display: none;
}

.bss-faq__item summary::after {
	content: "";
	position: absolute;
	right: 10px;
	top: 26px;
	width: 11px;
	height: 11px;
	border-right: 2px solid var(--bss-brand);
	border-bottom: 2px solid var(--bss-brand);
	transform: rotate(45deg);
	transform-origin: center;
}

.bss-faq__item[open] summary::after {
	top: 30px;
	transform: rotate(225deg);
}

.bss-faq__item summary:focus-visible {
	outline: 2px solid var(--bss-brand);
	outline-offset: 3px;
}

.bss-faq__item p {
	margin: 0 0 20px;
	max-width: 64ch;
	color: var(--bss-muted);
}

/* Closing band ------------------------------------------------------------ */

.bss-close {
	padding-block: clamp(52px, 6.5vw, 84px);
	background: var(--bss-ink);
	color: #fff;
}

.bss-close__title {
	margin: 0 0 12px;
	font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.15rem);
	line-height: 1.18;
	letter-spacing: -0.025em;
	font-weight: 700;
	max-width: 22ch;
	text-wrap: balance;
}

.bss-close__text {
	margin: 0 0 26px;
	max-width: 54ch;
	color: #b9c6e2;
}

.bss-close__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
}

.bss-close__alt {
	color: #fff;
	font-size: 0.95rem;
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-color: rgba(255, 255, 255, 0.4);
}

.bss-close__alt:hover {
	color: #fff;
	text-decoration-color: #fff;
}

/* Product cards inside the homepage ---------------------------------------- */

.bss-home .bss-badge {
	color: #0a1a4a;
	background: #e6edfd;
}

.bss-home .bss-chip.is-active {
	background: var(--bss-brand);
}

/* The product grid sits inside the page, so keep its spacing tidy ---------- */

.bss-home .bss-catalog,
.bss-home .bss-grid {
	max-width: none;
}

@media (prefers-reduced-motion: reduce) {
	.bss-home * {
		transition: none !important;
		animation: none !important;
	}
}
