/* Britt's Pet Taxi — home hero slider.
   Matches the retired Slider Revolution "Home-Slider": white Montserrat
   headline over a full-bleed image, orange Find out more button, 40px round
   arrows, 12px bullets. Mobile is rebuilt rather than copied: the old slider
   clipped the headline and dropped the button on top of it. */

.bpt-hero {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	height: 600px;
	overflow: hidden;
	background: #e7e7e7;
	isolation: isolate;
}

.bpt-hero__track {
	position: absolute;
	inset: 0;
}

.bpt-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 300ms ease, visibility 0s linear 300ms;
}

/* The outgoing slide is held fully opaque underneath while the incoming one
   fades in on top, so the two never show through each other mid-transition. */
.bpt-hero__slide.is-leaving {
	opacity: 1;
	visibility: visible;
	z-index: 1;
	transition: none;
}

.bpt-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity 300ms ease, visibility 0s;
	z-index: 2;
}

.bpt-hero__img,
.bpt-hero img.bpt-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center center;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.bpt-hero__content {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 28px;
	padding: 0 24px;
	text-align: center;
}

.bpt-hero__title,
.bpt-hero h1.bpt-hero__title,
.bpt-hero p.bpt-hero__title {
	margin: 0;
	padding: 0;
	color: #fff;
	font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 600;
	font-size: clamp(30px, 6.4vw, 72px);
	line-height: 1.05;
	letter-spacing: 0;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
	max-width: 15em;
}

.bpt-hero__btn,
.bpt-hero a.bpt-hero__btn {
	display: inline-block;
	padding: 12px 35px;
	background-color: #ff6600;
	color: #fff;
	font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 500;
	font-size: 17px;
	line-height: 1.3;
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: 0;
	box-shadow: none;
	transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.bpt-hero__btn:hover,
.bpt-hero__btn:focus-visible,
.bpt-hero a.bpt-hero__btn:hover,
.bpt-hero a.bpt-hero__btn:focus-visible {
	background-color: #fff;
	color: #000;
	border-color: #000;
}

/* Arrows ---------------------------------------------------------------- */

/* Salient's dynamic stylesheet forces `border-radius:4px !important` onto every
   button, so the round controls need !important to win. Everything else here
   only needs the extra specificity of `.bpt-hero button`. */
.bpt-hero button.bpt-hero__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 50% !important;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	cursor: pointer;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color 200ms ease;
}

.bpt-hero button.bpt-hero__arrow:hover,
.bpt-hero button.bpt-hero__arrow:focus-visible {
	background: #000;
	color: #fff;
}

.bpt-hero button.bpt-hero__arrow--prev {
	left: 20px;
}

.bpt-hero button.bpt-hero__arrow--next {
	right: 20px;
}

/* Bullets --------------------------------------------------------------- */

.bpt-hero__dots {
	position: absolute;
	left: 50%;
	bottom: 20px;
	z-index: 3;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
}

.bpt-hero button.bpt-hero__dot {
	width: 12px;
	height: 12px;
	min-width: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
	border: 3px solid #e5e5e5;
	border-radius: 50% !important;
	box-sizing: content-box;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	background: linear-gradient(to bottom, #999 0%, #e1e1e1 100%);
	transition: background 200ms ease;
}

.bpt-hero button.bpt-hero__dot:hover,
.bpt-hero button.bpt-hero__dot.is-active {
	background: #666;
}

.bpt-hero button.bpt-hero__arrow:focus-visible,
.bpt-hero button.bpt-hero__dot:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* Responsive ------------------------------------------------------------ */

@media (max-width: 1000px) {
	.bpt-hero {
		height: 480px;
	}

	.bpt-hero__content {
		gap: 24px;
	}
}

@media (max-width: 690px) {
	.bpt-hero {
		height: 420px;
	}

	.bpt-hero__content {
		gap: 20px;
		padding: 0 20px;
	}

	.bpt-hero button.bpt-hero__arrow--prev {
		left: 10px;
	}

	.bpt-hero button.bpt-hero__arrow--next {
		right: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bpt-hero__slide,
	.bpt-hero__slide.is-active {
		transition: none;
	}
}
