/* Homepage hero banner slider (live RevSlider pathwell) */

.ph-hero {
	position: relative;
	overflow: hidden;
	background: #eceae6;
}

.ph-hero__viewport {
	position: relative;
	width: 100%;
	height: 650px;
}

.ph-hero__slide {
	position: absolute;
	inset: 0;
	display: block;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.55s ease, visibility 0.55s ease;
	text-decoration: none;
}

.ph-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.ph-hero__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.ph-hero__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-top: -23px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--ph-navy, #111d6a);
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(17, 29, 106, 0.18);
}

.ph-hero__arrow:hover {
	background: var(--ph-accent, #f77f00);
	color: #fff;
}

.ph-hero__arrow--prev {
	left: 18px;
}

.ph-hero__arrow--next {
	right: 18px;
}

.ph-hero__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 18px;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 10px;
}

.ph-hero__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.55);
	cursor: pointer;
}

.ph-hero__dot.is-active,
.ph-hero__dot:hover {
	background: var(--ph-accent, #f77f00);
}

@media (max-width: 1024px) {
	.ph-hero__viewport {
		height: 500px;
	}
}

@media (max-width: 767px) {
	.ph-hero__viewport {
		height: auto;
		aspect-ratio: 16 / 10;
		min-height: 220px;
		max-height: 420px;
	}

	.ph-hero__arrow {
		width: 38px;
		height: 38px;
		margin-top: -19px;
	}

	.ph-hero__arrow--prev {
		left: 10px;
	}

	.ph-hero__arrow--next {
		right: 10px;
	}
}

/* Live homepage split / appointment section — Prime Ortho polish */

.ph-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: calc(100vh - 160px);
	background: var(--ph-home-warm);
}

.ph-split__media {
	position: relative;
	min-height: 560px;
	overflow: hidden;
	background-color: #d9d4cc;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.ph-split__content {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 64px 56px;
	background: var(--ph-home-warm);
	text-align: center;
}

.ph-split__inner {
	max-width: 520px;
	width: 100%;
}

.ph-split h1 {
	margin: 0 0 12px;
	color: var(--ph-navy, #111d6a);
	font-family: "Poppins", sans-serif;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.22;
}

.ph-split__script {
	margin: 0 0 12px;
	color: var(--ph-accent, #f77f00);
	font-family: "Great Vibes", cursive;
	font-size: 32px;
	font-weight: 400;
	line-height: 1.2;
}

.ph-split__script::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin: 14px auto 22px;
	background: var(--ph-accent, #f77f00);
	border-radius: 999px;
}

.ph-split__inner p {
	margin: 0 0 18px;
	color: var(--ph-muted, #4a5568);
	font-family: "Poppins", sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.8;
}

.ph-split__inner p a {
	color: var(--ph-accent, #f77f00);
	font-weight: 600;
	text-decoration: none;
}

.ph-split__inner p a:hover {
	text-decoration: underline;
}

.ph-split__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 18px auto 28px;
	color: var(--ph-navy, #111d6a);
	border: 2px solid var(--ph-navy, #111d6a);
	border-radius: 50%;
	transition: all 0.25s ease;
}

.ph-split__icon:hover {
	background: var(--ph-accent, #f77f00);
	border-color: var(--ph-accent, #f77f00);
	color: #fff;
}

.ph-split__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	padding: 12px 24px;
	background: var(--ph-accent, #f77f00);
	color: #fff !important;
	border-radius: 999px;
	font-family: "Poppins", sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(247, 127, 0, 0.3);
}

.ph-split__btn:hover {
	background: var(--ph-navy, #111d6a);
	color: #fff !important;
}

@media (max-width: 1100px) {
	.ph-split h1 {
		font-size: 34px;
	}

	.ph-split__content {
		padding: 48px 36px;
	}
}

@media (max-width: 900px) {
	.ph-split {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.ph-split__media {
		min-height: 320px;
		height: 360px;
	}

	.ph-split h1 {
		font-size: 28px;
	}
}
