/* =========================================================================
   Homepage sections — hero slider, products, approach, quote, hairstyles,
   services, showcase, membership plans and locations.
   ========================================================================= */

/* ---------- Hero slider ---------- */
.salon-hero {
	position: relative;
	height: 500px;
	overflow: hidden;
	background: #111;
}

.salon-hero__slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background-position: center;
	background-size: cover;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.9s ease, visibility 0.9s ease;
}

.salon-hero__slide::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.salon-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
}

.salon-hero__inner {
	position: relative;
	z-index: 1;
	padding: 72px 20px 0;
	text-align: center;
}

.salon-hero__title {
	margin: 0 0 20px;
	color: var(--salon-accent);
	font-family: var(--salon-font-heading);
	font-size: 60px;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
}

.salon-hero__text {
	margin: 0 0 30px;
	color: #fff;
	font-family: var(--salon-font-heading);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.4;
	text-transform: uppercase;
}

.salon-hero__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	padding: 6px;
	background: none;
	border: 0;
	color: #fff;
	cursor: pointer;
	opacity: 0;
	transform: translateY(-50%);
	transition: opacity var(--salon-transition), color var(--salon-transition);
}

.salon-hero:hover .salon-hero__arrow {
	opacity: 0.8;
}

.salon-hero__arrow:hover {
	color: var(--salon-accent);
	opacity: 1;
}

.salon-hero__arrow--prev {
	left: 20px;
}

.salon-hero__arrow--next {
	right: 20px;
}

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

.salon-hero__dots button {
	width: 9px;
	height: 9px;
	padding: 0;
	background: rgba(255, 255, 255, 0.45);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

.salon-hero__dots button.is-active {
	background: var(--salon-accent);
}

/* ---------- Products ---------- */
.salon-products {
	padding-bottom: 30px;
}

.salon-products__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 30px;
}

.salon-products__card {
	display: flex;
	flex-direction: column;
}

.salon-products__media {
	display: block;
	margin-bottom: 18px;
	border: 1px solid var(--salon-border);
	aspect-ratio: 5 / 6;
	overflow: hidden;
	background: #fafafa;
}

.salon-products__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.salon-products__card:hover .salon-products__media img {
	transform: scale(1.05);
}

.salon-products__title {
	margin: 0 0 10px;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.2;
}

.salon-products__title a {
	color: var(--salon-heading);
}

.salon-products__title a:hover {
	color: var(--salon-accent);
}

.salon-products__price {
	margin-bottom: 14px;
	color: var(--salon-heading);
	font-size: 15px;
}

.salon-products__price del {
	margin-right: 6px;
	color: var(--salon-text-muted);
}

.salon-products__price ins {
	text-decoration: none;
}

.salon-products__card .salon-btn--line {
	margin-top: auto;
}

.salon-products__card .added_to_cart {
	margin-top: 8px;
	color: var(--salon-accent);
	font-size: 13px;
	text-align: center;
}

.salon-products__more {
	margin-top: 40px;
	text-align: center;
}

.salon-products__rule {
	height: 1px;
	margin: 40px 0 0;
	background: #141414;
	border: 0;
}

/* ---------- Approach ---------- */
.salon-approach {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 450px;
	margin-top: 30px;
}

.salon-approach__media {
	background: #2a2016 center / cover no-repeat;
}

.salon-approach__panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 50px 50px 50px 45px;
	background:
		radial-gradient(circle at 80% 20%, rgba(190, 143, 69, 0.08), transparent 45%),
		linear-gradient(135deg, #2b2119, #17110b);
}

.salon-approach__title {
	margin: 0 0 25px;
	color: var(--salon-accent);
	font-size: 36px;
	font-weight: 400;
	line-height: 1.1;
	text-transform: uppercase;
}

.salon-approach__list {
	display: grid;
	gap: 14px;
	max-width: 420px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.salon-approach__list li {
	display: flex;
	align-items: center;
	gap: 20px;
}

.salon-approach__num {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: var(--salon-accent);
	border-radius: 50%;
	color: #fff;
	font-family: var(--salon-font-heading);
	font-size: 18px;
}

.salon-approach__list p {
	margin: 0;
	color: var(--salon-text-muted);
	font-size: 14px;
	line-height: 1.5;
}

/* ---------- Quote ---------- */
.salon-quote {
	padding: 70px 20px 50px;
	text-align: center;
}

.salon-quote p {
	max-width: 600px;
	margin: 0 auto;
	color: var(--salon-heading);
	font-family: var(--salon-font-heading);
	font-size: 30px;
	font-weight: 500;
	line-height: 1.2;
}

/* ---------- Hairstyles carousel ---------- */
.salon-styles {
	position: relative;
	padding: 60px 0;
	background:
		radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 60%),
		#1a1510;
	overflow: hidden;
}

.salon-styles__track {
	display: flex;
	gap: 30px;
	padding-inline: max(var(--salon-gutter), calc((100vw - 760px) / 2));
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.salon-styles__track::-webkit-scrollbar {
	display: none;
}

.salon-styles__slide {
	position: relative;
	flex: 0 0 min(760px, 82vw);
	height: 410px;
	margin: 0;
	background: #2a241d;
	overflow: hidden;
	scroll-snap-align: center;
}

.salon-styles__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.salon-styles__label {
	position: absolute;
	top: 50%;
	left: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 92px;
	height: 92px;
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	color: #fff;
	font-family: var(--salon-font-heading);
	font-size: 30px;
	line-height: 0.95;
	text-align: left;
	text-transform: uppercase;
	white-space: nowrap;
	transform: translateY(-50%);
	text-indent: 30px;
}

.salon-styles__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	padding: 4px;
	background: none;
	border: 0;
	color: rgba(255, 255, 255, 0.85);
	cursor: pointer;
	transform: translateY(-50%);
}

.salon-styles__arrow:hover {
	color: var(--salon-accent);
}

.salon-styles__arrow--prev {
	left: max(10px, calc((100vw - 760px) / 2 - 70px));
}

.salon-styles__arrow--next {
	right: max(10px, calc((100vw - 760px) / 2 - 70px));
}

/* ---------- Services ---------- */
.salon-services__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.salon-services__card {
	position: relative;
	display: block;
	aspect-ratio: 9 / 10;
	background: #2a241d;
	overflow: hidden;
}

.salon-services__card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.salon-services__card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.7));
}

.salon-services__card:hover img {
	transform: scale(1.06);
}

.salon-services__title {
	position: absolute;
	right: 16px;
	bottom: 16px;
	left: 16px;
	z-index: 1;
	color: #fff;
	font-family: var(--salon-font-heading);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
}

/* ---------- Showcase ---------- */
.salon-showcase {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 420px;
	background: #111 center / cover no-repeat;
	overflow: hidden;
}

.salon-showcase::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
}

.salon-showcase__word {
	position: relative;
	margin: 0;
	color: rgba(255, 255, 255, 0.5);
	font-size: 130px;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	opacity: 0.35;
}

.salon-showcase__play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border: 1.5px solid #fff;
	border-radius: 50%;
	color: #fff;
	transform: translate(-50%, -50%);
	transition: background var(--salon-transition), border-color var(--salon-transition);
}

.salon-showcase__play:hover,
.salon-showcase__play:focus {
	background: var(--salon-accent);
	border-color: var(--salon-accent);
	color: #fff;
}

/* ---------- Membership plans ---------- */
.salon-plans .salon-head__title {
	position: relative;
	display: inline-block;
}

.salon-plans__crown {
	position: absolute;
	top: -18px;
	right: -46px;
	width: 42px;
	color: #e7bf4d;
	transform: rotate(14deg);
}

.salon-plans__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: start;
	gap: 0;
	padding-top: 50px;
}

.salon-plans__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: 440px;
	padding: 30px;
	background:
		radial-gradient(circle at 30% 10%, rgba(255, 255, 255, 0.05), transparent 55%),
		linear-gradient(160deg, #2c241c, #120d08);
	color: #fff;
}

.salon-plans__card.is-featured {
	position: relative;
	z-index: 1;
	margin-top: -50px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.salon-plans__title {
	margin: 0 0 10px;
	color: #fff;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.1;
}

.salon-plans__title small {
	font-size: 13px;
}

.salon-plans__note {
	margin: 0;
	color: var(--salon-text-muted);
	font-size: 14px;
}

.salon-plans__price {
	margin: 2px 0 20px;
	color: var(--salon-accent);
	font-size: 20px;
	line-height: 1.5;
}

.salon-plans__list {
	display: grid;
	gap: 9px;
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
}

.salon-plans__list li {
	position: relative;
	padding-left: 18px;
	color: #fff;
	font-size: 14px;
	line-height: 1.45;
}

.salon-plans__list li::before {
	content: "";
	position: absolute;
	top: 7px;
	left: 0;
	width: 5px;
	height: 5px;
	background: var(--salon-accent);
	border-radius: 50%;
}

.salon-plans__card .salon-btn {
	margin-top: auto;
}

/* ---------- Locations ---------- */
.salon-locations {
	background: var(--salon-bg-alt);
}

.salon-locations__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
}

.salon-locations__card {
	display: flex;
	flex-direction: column;
	background: #fff;
}

.salon-locations__media {
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.salon-locations__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.salon-locations__card:hover .salon-locations__media img {
	transform: scale(1.04);
}

.salon-locations__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 28px 30px 32px;
}

.salon-locations__body h3 {
	margin: 0 0 16px;
	font-size: 24px;
}

.salon-locations__meta {
	display: grid;
	gap: 10px;
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
	font-size: 15px;
}

.salon-locations__meta li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.salon-locations__meta .salon-icon {
	margin-top: 3px;
	color: var(--salon-accent);
}

.salon-locations__meta a {
	color: var(--salon-text);
}

.salon-locations__meta a:hover {
	color: var(--salon-accent);
}

.salon-locations__body .salon-btn {
	margin-top: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.salon-showcase__word {
		font-size: 96px;
	}
}

@media (max-width: 880px) {
	.salon-products__grid,
	.salon-services__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.salon-approach {
		grid-template-columns: 1fr;
	}

	.salon-approach__media {
		min-height: 300px;
	}

	.salon-approach__panel {
		padding: 45px 20px;
	}

	.salon-plans__grid {
		grid-template-columns: 1fr;
		gap: 20px;
		padding-top: 0;
	}

	.salon-plans__card {
		min-height: 0;
	}

	.salon-plans__card.is-featured {
		margin-top: 0;
	}

	.salon-locations__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.salon-hero {
		height: 460px;
	}

	.salon-hero__title {
		font-size: 38px;
	}

	.salon-hero__text {
		font-size: 14px;
	}

	.salon-products__grid {
		gap: 24px 16px;
	}

	.salon-approach__title {
		font-size: 28px;
	}

	.salon-quote p {
		font-size: 24px;
	}

	.salon-styles__slide {
		height: 340px;
	}

	.salon-showcase {
		height: 280px;
	}

	.salon-showcase__word {
		font-size: 56px;
	}
}
