.services-section {
	--services-bg: #fbf5eb;
	--services-card-bg: #fcf9f2;
	--services-active-bg: #f7ebdf;
	--services-border: #ddcdb5;
	--services-accent: #c1914a;
	--services-text: #424242;

	background: var(--services-bg);
	color: var(--services-text);
	padding: clamp(84px, 8vw, 110px) 0 clamp(86px, 9vw, 118px);
	overflow-x: clip;
}

.services-section__container {
	width: min(100% - 40px, 1282px);
	margin: 0 auto;
}

.services-section__header {
	display: grid;
	grid-template-columns: minmax(0, 720px) minmax(320px, 552px);
	gap: clamp(48px, 8vw, 82px);
	align-items: end;
	margin-bottom: clamp(44px, 5.2vw, 56px);
}

.services-section__eyebrow {
	margin: 0 0 14px;
	color: var(--services-accent);
	font-family: var(--font-sans);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.31em;
	line-height: 1.35;
	text-transform: uppercase;
}

.services-section__title {
	max-width: 701px;
	margin: 0;
	color: #000;
	font-family: var(--font-serif);
	font-size: clamp(38px, 3.1vw, 44px);
	font-weight: 400;
	line-height: 1.52;
	text-wrap: balance;
}

.services-section__intro {
	max-width: 552px;
	margin: 0 0 18px auto;
	color: #000;
	font-family: var(--font-sans);
	font-size: clamp(16px, 1.25vw, 18px);
	font-weight: 400;
	line-height: 1.35;
	text-align: right;
	text-wrap: balance;
}

.services-section__layout {
	display: grid;
	grid-template-columns: minmax(360px, 514px) minmax(0, 735px);
	gap: 28px;
	align-items: start;
}

.services-tabs {
	display: grid;
	gap: 12px;
}

.services-tab {
	display: grid;
	width: 100%;
	min-height: 114px;
	grid-template-columns: 82px minmax(0, 1fr) 48px;
	gap: 10px;
	align-items: center;
	border: 1px solid var(--services-border);
	border-radius: 25px;
	background: var(--services-card-bg);
	box-shadow: -1px 1px 11.4px 8px rgba(210, 210, 210, 0.15);
	color: var(--services-text);
	cursor: pointer;
	padding: 18px 20px 18px 20px;
	text-align: left;
	transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.services-tab.is-active {
	background: var(--services-active-bg);
}

.services-tab:hover {
	transform: translateY(-1px);
}

.services-tab__icon {
	display: inline-flex;
	width: 58px;
	height: 58px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(193, 145, 74, 0.24);
	border-radius: 50%;
	background: #fbf0e1;
	color: var(--services-accent);
}

.services-tab__icon img {
	width: 42px;
	height: 42px;
	object-fit: contain;
}

.services-tab__title {
	min-width: 0;
	font-family: var(--font-serif);
	font-size: clamp(20px, 1.7vw, 22px);
	font-weight: 600;
	line-height: 1.25;
}

.services-tab__chevron {
	display: inline-flex;
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	color: var(--services-accent);
}

.services-tab__chevron svg {
	width: 30px;
	height: 30px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 180ms ease;
}

.services-tab.is-active .services-tab__chevron svg {
	transform: rotate(180deg);
}

.services-panels {
	min-width: 0;
}

.services-panel {
	display: grid;
	min-height: 632px;
	grid-template-columns: minmax(280px, 361px) minmax(0, 1fr);
	gap: 28px;
	align-items: center;
	border: 1px solid var(--services-border);
	border-radius: 25px;
	background: var(--services-card-bg);
	box-shadow: -1px 1px 11.4px 8px rgba(210, 210, 210, 0.15);
	padding: 23px 27px;
}

.services-panel[hidden] {
	display: none;
}

.services-panel__gallery {
	position: relative;
	min-width: 0;
	overflow: hidden;
	border-radius: 20px;
	background: #eadfce;
}

.services-panel__images {
	position: relative;
	aspect-ratio: 361 / 585;
	min-height: 520px;
}

.services-panel__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 1;
	transition: opacity 240ms ease;
}

.services-panel__image[hidden] {
	display: block;
	opacity: 0;
	pointer-events: none;
}

.services-panel__pagination {
	position: absolute;
	right: 0;
	bottom: 28px;
	left: 0;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 22px;
}

.services-panel__dot {
	width: 12px;
	height: 12px;
	border: 0;
	border-radius: 50%;
	background: #f8e6ce;
	cursor: pointer;
	padding: 0;
	transition: background-color 180ms ease, transform 180ms ease;
}

.services-panel__dot[aria-current="true"] {
	background: var(--services-accent);
	transform: scale(1.1);
}

.services-panel__content {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: flex-start;
}

.services-panel__title {
	margin: 0 0 22px;
	color: #000;
	font-family: var(--font-serif);
	font-size: clamp(22px, 1.8vw, 24px);
	font-weight: 600;
	line-height: 1.3;
}

.services-panel__description {
	color: #000;
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.32;
}

.services-panel__description p {
	margin: 0;
}

.services-panel__description p + p {
	margin-top: 18px;
}

.services-panel__link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 34px;
	color: #c58851;
	font-family: var(--font-sans);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
}

.services-panel__link:visited,
.services-panel__link:hover,
.services-panel__link:focus,
.services-panel__link:active {
	color: #c58851;
}

.services-panel__link svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 180ms ease;
}

.services-panel__link:hover svg {
	transform: translateX(3px);
}

.services-section__noscript {
	margin: 28px 0 0;
}

.service-single {
	background: var(--services-bg, #fbf5eb);
	padding: clamp(80px, 8vw, 120px) 0;
}

.service-single__container {
	width: min(100% - 40px, 960px);
	margin: 0 auto;
}

.service-single__back,
.service-single__button {
	display: inline-flex;
	margin-bottom: 24px;
	color: var(--color-gold);
	font-weight: 700;
	text-decoration: none;
}

.service-single__title {
	margin: 0 0 28px;
	font-family: var(--font-serif);
	font-size: clamp(38px, 5vw, 64px);
	font-weight: 400;
	line-height: 1.15;
}

.service-single__image {
	display: block;
	width: 100%;
	max-height: 620px;
	margin-bottom: 28px;
	border-radius: 25px;
	object-fit: cover;
}

.service-single__price {
	color: var(--color-gold);
	font-size: 22px;
	font-weight: 700;
}

.service-single__content {
	max-width: 760px;
	color: var(--services-text, #424242);
	font-size: 18px;
	line-height: 1.65;
}

.service-single__gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 34px 0;
}

.service-single__gallery img {
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 18px;
	object-fit: cover;
}

@media (max-width: 1199px) {
	.services-section__header,
	.services-section__layout {
		grid-template-columns: 1fr;
	}

	.services-section__intro {
		margin-left: 0;
		text-align: left;
	}

	.services-panel {
		grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
	}
}

@media (max-width: 767px) {
	.services-section {
		padding: 68px 0 78px;
	}

	.services-section__container {
		width: min(100% - 32px, 1282px);
	}

	.services-section__header {
		gap: 22px;
		margin-bottom: 34px;
	}

	.services-section__eyebrow {
		font-size: 13px;
		letter-spacing: 0.28em;
	}

	.services-section__title {
		font-size: clamp(34px, 10vw, 42px);
		line-height: 1.24;
	}

	.services-tab {
		min-height: 86px;
		grid-template-columns: 62px minmax(0, 1fr) 34px;
		border-radius: 20px;
		padding: 13px 14px;
	}

	.services-tab__icon {
		width: 52px;
		height: 52px;
	}

	.services-tab__icon img {
		width: 34px;
		height: 34px;
	}

	.services-tab__title {
		font-size: 19px;
	}

	.services-tab__chevron {
		width: 34px;
		height: 34px;
	}

	.services-tabs__item > .services-panel {
		margin-top: 12px;
		margin-bottom: 12px;
	}

	.services-panels.is-mobile-empty {
		display: none;
	}

	.services-panel {
		min-height: 0;
		grid-template-columns: 1fr;
		gap: 22px;
		border-radius: 22px;
		padding: 14px;
	}

	.services-panel__images {
		aspect-ratio: 318 / 360;
		min-height: 0;
	}

	.services-panel__content {
		padding: 0 6px 12px;
	}

	.services-panel__title {
		margin-bottom: 14px;
	}

	.services-panel__description {
		font-size: 15px;
		line-height: 1.45;
	}

	.services-panel__link {
		margin-top: 22px;
		font-size: 15px;
	}

	.service-single__gallery {
		grid-template-columns: 1fr;
	}
}
