/**
 * BookingBee redesign — Bootstrap breakpoints (575.98 / 767.98 / 991.98 / 1199.98).
 * Home mobile + tablet aligned to Figma NbdFRm4kfUKuq0nzPHHH26:
 *   Mobile 322:2134 (390px) · Tablet 322:2132 (768px).
 */

.bb-redesign #page.site {
	zoom: 1 !important;
}

body.nav-open {
	overflow: hidden;
}

@media (max-width: 1199.98px) {
	.bb-redesign {
		--gutter: 16px;
		--section-y: 48px;
	}

	/* Consistent horizontal inset through laptop */
	.bb-redesign main > section:not(.hero2) {
		padding-left: var(--gutter);
		padding-right: var(--gutter);
		box-sizing: border-box;
	}

	.bb-redesign .faq-inner,
	.bb-redesign .reviews-inner {
		padding-left: 0;
		padding-right: 0;
	}

	.bb-redesign section.reviews {
		overflow-x: hidden;
	}

	/* FAQ — single column on tablet (same stack as mobile) */
	.bb-redesign .faq-inner {
		max-width: 100%;
	}

	.bb-redesign .faq-grid {
		grid-template-columns: 1fr;
		gap: 28px;
		padding-top: 24px;
	}

	.bb-redesign .faq-list {
		order: -1;
	}

	.bb-redesign .help-card {
		max-width: none;
		width: 100%;
	}

	.bb-redesign .help-card .art,
	.bb-redesign .help-card p,
	.bb-redesign .help-card .btn-talk {
		width: 100%;
	}

	.bb-redesign .help-card .art {
		height: auto;
	}

	header.site-header .header-bar {
		position: relative;
	}

	header.site-header .main-nav {
		z-index: 95;
		max-height: min(70vh, 520px);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.bb-redesign .bento .card,
	.bb-redesign .fcard-rem,
	.bb-redesign .fcard-win,
	.bb-redesign .fs-pin.is-pinned .fs,
	.bb-redesign .handle-scroller.is-pinned .handle-row {
		zoom: 1 !important;
	}

	.bb-redesign .bento-head {
		width: 100%;
		padding: 0;
		box-sizing: border-box;
	}

	.bb-redesign .bento-scale {
		width: auto;
		margin: 28px 0 0;
	}

	.bb-redesign .bento {
		flex-direction: column;
		align-items: center;
		gap: 16px;
		width: auto;
		height: auto;
		display: flex;
	}

	.bb-redesign .bento .card {
		flex: none;
		position: relative;
		top: auto !important;
		left: auto !important;
	}

	.bb-redesign .bento-center {
		order: -1;
		width: 180px;
		height: 180px;
		position: relative;
		top: auto;
		left: auto;
	}

	.bb-redesign .bento-center img {
		width: 180px;
		height: 180px;
	}
}

@media (max-width: 767.98px) {
	.bb-redesign {
		--section-y: 40px;
	}
}

/* —— Tablet (768–1199): Figma Home — Tablet —— */
@media (min-width: 768px) and (max-width: 1199.98px) {
	.bb-redesign .hero2 {
		min-height: 710px;
		gap: 36px;
		/* padding-left: 24px;
		padding-right: 24px; */
		box-sizing: border-box;
	}

	.bb-redesign .hero2-copy {
		gap: 20px;
		width: 100%;
		max-width: 720px;
		padding-top: calc(24px + var(--hdr-h, 142px));
	}

	.bb-redesign .hero2-copy h1 {
		font-size: 52px !important;
		line-height: 1.08 !important;
		letter-spacing: -1.56px !important;
	}

	.bb-redesign .hero2-copy p {
		font-size: 18px;
		line-height: 1.6;
		max-width: 640px;
	}

	.bb-redesign .hero2-ctas {
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 14px;
	}

	.bb-redesign .hero2-btn {
		width: auto;
		font-size: 18px;
	}

	.bb-redesign .ld2 {
		padding: 30px 32px;
	}

	.bb-redesign .ld2-head h2 {
		font-size: 40px;
		line-height: 1.12;
		letter-spacing: -1.2px;
	}

	.bb-redesign .ld2-head p {
		font-size: 18px;
		line-height: 1.6;
	}

	.bb-redesign .fs-heading h2,
	.bb-redesign .handle-head h2 {
		font-size: 40px;
		line-height: 1.1;
		letter-spacing: -1.2px;
	}

	.bb-redesign .integrations .int-text h2,
	.bb-redesign .swipe-head h2,
	.bb-redesign .gs2-head h2,
	.bb-redesign .faq-inner > h2 {
		font-size: 36px;
		line-height: 1.12;
	}

	.bb-redesign .fcta-copy h2 {
		font-size: 36px;
		line-height: 1.12;
	}

	.bb-redesign .fs-track {
		margin-left: -16px;
		margin-right: -16px;
		padding-left: 16px;
		padding-right: 16px;
		scroll-padding: 0 16px;
	}

	.bb-redesign .fs-head {
		padding-left: 0;
		padding-right: 0;
	}

	.bb-redesign .handle-row {
		width: 100%;
		max-width: 100%;
	}

	.bb-redesign .handle {
		padding: 48px 0;
	}

	.bb-redesign .handle-head.fs-head .fs-heading {
		align-items: flex-start;
	}

	.bb-redesign .handle-head h2,
	.bb-redesign .handle-head.fs-head .fs-heading h2 {
		font-size: 36px;
		line-height: 1.12;
		letter-spacing: -1.08px;
		white-space: normal;
	}

	.bb-redesign .handle-head .lead {
		font-size: 18px;
		line-height: 1.6;
	}

	.bb-redesign .reviews {
		padding-left: 0;
		padding-right: 0;
	}

	.bb-redesign .reviews-head h2 {
		font-size: 36px;
		line-height: 1.12;
		letter-spacing: -1.08px;
	}

	.bb-redesign .tr4-head h2 {
		font-size: 36px;
		line-height: 1.12;
	}
}

/* —— Mobile (≤767): Figma Home — Mobile 390 —— */
@media (max-width: 767.98px) {
	/* Section horizontal inset (16px); not applied to full-bleed hero bg or tr4/reviews */
	.bb-redesign main > section:not(.hero2):not(.tr4):not(.reviews) {
		box-sizing: border-box;
	}

	/* Hero */
	.bb-redesign .hero2 {
		min-height: 721px;
		gap: 28px;
		/* padding-left: 16px;
		padding-right: 16px; */
		box-sizing: border-box;
	}

	.bb-redesign .hero2-copy {
		gap: 16px;
		width: 100%;
		max-width: none;
		padding-top: calc(48px + var(--hdr-h, 88px));
		padding-inline: 16px;
	}

	.bb-redesign .hero2-copy h1 {
		font-size: 36px !important;
		line-height: 1.08 !important;
		letter-spacing: -1.08px !important;
	}

	.bb-redesign .hero2-copy p {
		font-size: 17px;
		line-height: 1.6;
		color: rgba(233, 225, 252, 0.78);
		max-width: none;
	}

	.bb-redesign .hero2-ctas {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		gap: 12px;
	}

	.bb-redesign .hero2-btn {
		width: 100%;
		justify-content: center;
		font-size: 17px;
		height: 52px;
		border-radius: 14px;
	}

	.bb-redesign .hero2-room {
		height: 340px;
		background-position: 4% bottom;
		background-size: auto 100%;
	}

	.hero2-ind {
		display: none;
	}

	.bb-redesign .hero2-room img {
		display: none;
	}

	.bb-redesign .gradient-blinds-container.hero2-blinds {
		height: calc(520px + var(--hdr-h, 88px));
	}

	/* Live demo (ld2) */
	.bb-redesign .ld2 {
		padding: 24px 0;
		gap: 24px;
	}

	.bb-redesign .ld2-head {
		gap: 19px;
		padding: 0 4px;
	}

	.bb-redesign .ld2-eyebrow {
		font-size: 11px;
		letter-spacing: 1.32px;
	}

	.bb-redesign .ld2-head h2 {
		font-size: 30px;
		line-height: 1.12;
		letter-spacing: -0.9px;
	}

	.bb-redesign .ld2-head p {
		font-size: 17px;
		line-height: 1.6;
		color: #cecbd4;
	}

	.bb-redesign .ld2-cards {
		gap: 22px;
		width: 100%;
	}

	.bb-redesign .ld2-meet,
	.bb-redesign .ld2-widget {
		max-width: none;
		border-radius: 28px;
	}

	.bb-redesign .ld2-meet h3 {
		font-size: 22px;
		letter-spacing: -0.44px;
	}

	.bb-redesign .ld2-meet > p {
		font-size: 16px;
		color: #ccb7f4;
	}

	/* Features scroller */
	.bb-redesign .fs {
		padding: 24px 0 var(--section-y, 40px);
	}

	.bb-redesign .fs-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		padding: 0;
	}

	.bb-redesign .fs-heading h2 {
		font-size: 30px;
		line-height: 1.12;
		letter-spacing: -0.9px;
	}

	.bb-redesign .fs-head .lead {
		font-size: 17px;
		line-height: 1.6;
		color: #3e2960;
	}

	.bb-redesign .fs-arrows {
		align-self: flex-end;
	}

	.bb-redesign .fs-track {
		gap: 14px;
		margin: 20px -16px 0;
		padding: 6px 16px 20px;
		scroll-padding: 0 16px;
	}

	.bb-redesign .fs-card {
		width: min(300px, calc(100vw - 48px));
		padding: 14px 14px 18px;
		border-radius: 28px;
	}

	.bb-redesign .fs-visual,
	.bb-redesign .fs-visual img {
		width: 100%;
		max-width: 270px;
		height: auto;
		aspect-ratio: 270 / 203;
	}

	.bb-redesign .fs-title h3 {
		font-size: 21px;
	}

	/* What BookingBee Handles */
	.bb-redesign .handle {
		margin-top: 0;
		padding: 36px 0;
	}

	.bb-redesign .handle-head.fs-head {
		align-items: flex-start;
		padding: 0;
	}

	.bb-redesign .handle-head h2,
	.bb-redesign .handle-head.fs-head .fs-heading h2 {
		font-size: 30px;
		line-height: 1.12;
		letter-spacing: -0.9px;
		white-space: normal;
	}

	.bb-redesign .handle-head .lead {
		font-size: 17px;
		line-height: 1.6;
		color: #3d2860;
		white-space: normal;
	}

	.bb-redesign .handle-row {
		width: 100%;
		max-width: 100%;
		margin: 24px 0 0;
		height: auto;
	}

	.bb-redesign .handle,
	.bb-redesign .handle-scroller .handle,
	.bb-redesign .handle-scroller.is-pinned .handle {
		margin-left: 0;
		margin-right: 0;
	}

	/* Integrations */
	.bb-redesign .integrations {
		padding: 40px 0;
	}

	.bb-redesign .integrations .int-card {
		padding: 28px 16px;
		border-radius: 32px;
	}

	.bb-redesign .integrations .int-text h2 {
		font-size: 32px;
		line-height: 1.12;
	}

	.bb-redesign .integrations .int-text p {
		font-size: 16px;
		line-height: 1.625;
	}

	/* Before / after swipe */
	.bb-redesign .swipe {
		padding: 40px 0;
	}

	.bb-redesign .swipe-head h2 {
		font-size: 32px;
		line-height: 1.18;
	}

	.bb-redesign .swipe-head p {
		font-size: 16px;
		line-height: 1.625;
		margin-top: 8px;
	}

	/* Getting started */
	.bb-redesign .gs2 {
		padding: 40px 0;
	}

	.bb-redesign .gs2-head h2 {
		font-size: 32px;
		line-height: 1.18;
	}

	.bb-redesign .gs2-head p {
		font-size: 16px;
		line-height: 1.625;
	}

	.bb-redesign .gs2-tabs {
		overflow-x: auto;
		flex-wrap: nowrap;
		justify-content: flex-start;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-bottom: 4px;
	}

	.bb-redesign .gs2-tabs::-webkit-scrollbar {
		display: none;
	}

	.bb-redesign .gs2-tab {
		flex: none;
	}

	/* FAQ */
	.bb-redesign .faq {
		padding: 48px 0;
	}

	.bb-redesign .faq-inner > h2 {
		font-size: 30px;
		line-height: 1.12;
		letter-spacing: -0.9px;
	}

	.bb-redesign .faq-q {
		font-size: 16px;
		line-height: 1.4;
	}

	/* Footer CTA */
	.bb-redesign .fcta {
		padding: 48px 0;
	}

	.bb-redesign .fcta-copy h2 {
		font-size: 32px;
		line-height: 1.18;
	}

	.bb-redesign .fcta-copy p {
		font-size: 16px;
		line-height: 1.625;
	}

	.bb-redesign .fcta-btns {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.bb-redesign .fcta-btn {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 991.98px) {
	.bb-redesign .handle-row {
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
}

/* Home reviews slider — mobile only (landing CSS only ≤767) */
@media (max-width: 767.98px) {
	.bb-redesign .meevo-26-reviews-slider__stage {
		position: relative;
		width: 100%;
		max-width: 100%;
		height: min(400px, 52vh);
		min-height: 320px;
		overflow: hidden;
		touch-action: pan-y;
	}

	.bb-redesign .meevo-26-reviews-slide {
		position: absolute;
		left: 50%;
		top: 50%;
		width: min(270px, 78vw);
		height: min(370px, 48vh);
		max-height: 400px;
		overflow: hidden;
		border: 1.5px solid #3d295f;
		border-radius: 24px;
		transform: translate(-50%, -50%);
		transform-origin: center center;
		transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease,
			box-shadow 0.35s ease, filter 0.35s ease;
		isolation: isolate;
	}

	.bb-redesign .meevo-26-reviews-slide.is-active {
		box-shadow: 0 8px 12px 6px rgba(0, 0, 0, 0.15), 0 4px 4px 0 rgba(0, 0, 0, 0.3);
		z-index: 10;
	}

	.bb-redesign .meevo-26-reviews-slide__media {
		position: absolute;
		inset: 0;
		z-index: 0;
		background-image: var(--photo);
		background-repeat: no-repeat;
		background-size: cover;
		background-position: var(--photo-pos, center 28%);
		border-radius: inherit;
	}

	.bb-redesign .meevo-26-reviews-slide__veil {
		position: absolute;
		inset: 0;
		z-index: 1;
		background: rgba(17, 0, 43, 0.65);
		border-radius: inherit;
		pointer-events: none;
	}

	.bb-redesign .meevo-26-reviews-slide.is-active .meevo-26-reviews-slide__veil {
		background: rgba(17, 0, 43, 0.55);
	}

	.bb-redesign .meevo-26-reviews-slide:not(.is-active) .meevo-26-reviews-slide__media {
		filter: blur(5px) brightness(0.38) grayscale(0.35);
		transform: scale(1.08);
	}

	.bb-redesign .meevo-26-reviews-slide:not(.is-active) .meevo-26-reviews-slide__veil {
		background: rgba(10, 0, 28, 0.82);
	}

	.bb-redesign .meevo-26-reviews-slide:not(.is-active) .meevo-26-reviews-slide__body,
	.bb-redesign .meevo-26-reviews-slide:not(.is-active) .meevo-26-reviews-slide__play,
	.bb-redesign .meevo-26-reviews-slide:not(.is-active) .meevo-26-reviews-slide__logo {
		opacity: 0.28;
		filter: blur(2px);
	}

	.bb-redesign .meevo-26-reviews-slide__play {
		position: absolute;
		left: 50%;
		top: calc(50% - 50px);
		z-index: 4;
		width: 56px;
		height: 56px;
		padding: 0;
		border: none;
		background: transparent;
		transform: translate(-50%, -50%);
		cursor: pointer;
	}

	.bb-redesign .meevo-26-reviews-slide__play img {
		width: 56px;
		height: 56px;
		display: block;
	}

	.bb-redesign .meevo-26-reviews-slide:not(.is-active) .meevo-26-reviews-slide__play {
		pointer-events: none;
	}

	.bb-redesign .meevo-26-reviews-slide__body {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 2;
		display: flex;
		flex-direction: column;
		gap: 6px;
		padding: 0 0 24px;
		pointer-events: none;
	}

	.bb-redesign .meevo-26-reviews-slide__who,
	.bb-redesign .meevo-26-reviews-slide__quote,
	.bb-redesign .meevo-26-reviews-slide__stat {
		padding: 0 12px;
		width: 100%;
		box-sizing: border-box;
	}

	.bb-redesign .meevo-26-reviews-slide__name {
		margin: 0;
		font-family: var(--f-semi);
		font-size: 18px;
		color: #fff;
	}

	.bb-redesign .meevo-26-reviews-slide__role {
		margin: 4px 0 0;
		font-family: var(--f-book);
		font-size: 11px;
		color: #cecbd4;
	}

	.bb-redesign .meevo-26-reviews-slide__quote {
		margin: 0;
		font-family: var(--f-semi);
		font-size: 12px;
		line-height: 22px;
		color: #fff;
		opacity: 0.8;
	}

	.bb-redesign .meevo-26-reviews-slider__dots {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		width: 100%;
	}

	.bb-redesign .meevo-26-reviews-slider__dot {
		width: 8px;
		height: 8px;
		padding: 0;
		border: none;
		border-radius: 4px;
		background: rgba(62, 41, 96, 0.77);
		cursor: pointer;
	}

	.bb-redesign .meevo-26-reviews-slider__dot.is-active {
		width: 24px;
		background: #fbbc04;
	}
}

/* Desktop / large screens — fluid FAQ + integrations (no fixed 420+928 / 712px blowout) */
@media (min-width: 1200px) {
	.bb-redesign .integrations {
		overflow-x: hidden;
		padding-left: 24px;
		padding-right: 24px;
		box-sizing: border-box;
	}

	.bb-redesign .integrations .int-inner {
		width: 100%;
		max-width: min(1400px, 100%);
		margin-inline: auto;
		padding-inline: 0;
		box-sizing: border-box;
	}

	.bb-redesign .integrations .int-card {
		max-width: 100%;
		padding: 40px clamp(32px, 5vw, 90px);
		box-sizing: border-box;
	}

	.bb-redesign .integrations .int-row {
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		height: auto;
		min-height: 0;
		align-items: center;
		gap: clamp(16px, 3vw, 40px);
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.bb-redesign .integrations .int-text {
		flex: 1 1 min(420px, 100%);
		width: auto;
		min-width: 0;
		max-width: 100%;
		padding: 0;
	}

	.bb-redesign .integrations .int-text h2 {
		width: 100%;
		max-width: 100%;
		font-size: clamp(40px, 4.2vw, 59px);
		line-height: 1.15;
	}

	.bb-redesign .integrations .int-text p {
		width: 100%;
		max-width: 100%;
	}

	.bb-redesign .integrations .int-visual {
		flex: 1 1 min(320px, 100%);
		width: auto;
		min-width: 0;
		max-width: 100%;
		height: auto;
		padding: 0;
	}

	.bb-redesign .integrations .int-visual img {
		width: 100%;
		max-width: 688px;
		height: auto;
		display: block;
		margin-inline: auto;
	}

	.bb-redesign .faq {
		overflow-x: hidden;
		box-sizing: border-box;
	}

	.bb-redesign .faq-inner {
		width: 100%;
		max-width: min(1400px, 100%);
		margin-inline: auto;
		padding-inline: 24px;
		box-sizing: border-box;
	}

	.bb-redesign .faq-grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		width: 100%;
		max-width: 100%;
		gap: clamp(20px, 3vw, 28px);
	}

	.bb-redesign .faq-grid > * {
		min-width: 0;
		max-width: 100%;
	}

	.bb-redesign .help-card {
		max-width: 100%;
		width: 100%;
		box-sizing: border-box;
	}

	.bb-redesign .help-card .art {
		width: 100%;
		max-width: 340px;
		height: auto;
	}
}
