/* ── Pricing Tables block ── */

.pricing-block {
	--pt-top: 10px;
	/* header scrolls away; nav sticks 10px from the top, the widget/aside
	   follows below it via calc(var(--pt-top) + 84px) */
	padding: clamp(40px, 5vw, 72px) 0 clamp(60px, 8vw, 120px);
}

/* ── Sticky category nav ── */

.pricing-nav {
	position: sticky;
	top: var(--pt-top);
	z-index: 20;
	margin-bottom: clamp(28px, 4vw, 48px);
}

.pricing-nav__track {
	display: flex;
	gap: 6px;
	padding: 8px;
	border-radius: 10px;
	border: 1px solid var(--color-gray-100);
	background: var(--color-white);
	box-shadow: 0 8px 24px -12px rgba(25, 25, 25, 0.12);
	overflow-x: auto;
	scrollbar-width: none;
	border-radius: 14px;
	border: var(--Border-border-base, 1.2px) solid rgba(25, 25, 25, 0.04);
	background: #F1EFEC;
}

.pricing-nav__track::-webkit-scrollbar {
	display: none;
}

.pricing-nav__btn {
	position: relative;
	z-index: 0;
	/* stacking context → fill (z-index:-1) stays inside */
	flex: 1 1 auto;
	min-width: max-content;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 18px 20px;
	border: 1px solid transparent;
	border-radius: 6px;
	background: transparent;
	cursor: pointer;
	color: var(--color-gray-500);
	font-family: var(--font-base);
	font-size: var(--fs-body-xs);
	font-weight: var(--fw-medium);
	line-height: 1;
	white-space: nowrap;
	transition: color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
		background-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
		border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Separator between pills — a short tick centred in the 6px track gap, not a
   border, so it can be shorter than the pill and fade independently. Horizontal
   track only; below 620px the track is a column and draws its own top borders. */
@media (min-width: 621px) {
	.pricing-nav__track .pricing-nav__btn::after {
		content: '';
		position: absolute;
		top: 50%;
		right: -3.6px;
		/* half the 6px gap, minus half the tick's width */
		transform: translateY(-50%);
		width: 1.2px;
		height: 40px;
		border-radius: 1px;
		background: var(--border-base, rgba(34, 34, 17, 0.07));
		pointer-events: none;
		transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
	}

	/* Both ticks touching the active pill fade out — its own and the one the
	   preceding pill draws into the shared gap. */
	.pricing-nav__track .pricing-nav__btn:last-child::after,
	.pricing-nav__track .pricing-nav__btn.is-active::after,
	.pricing-nav__track .pricing-nav__btn:has(+ .pricing-nav__btn.is-active)::after {
		opacity: 0;
	}
}

.pricing-nav__btn.is-active {
	background: var(--color-white);
	border-color: rgba(25, 25, 25, 0.04);
	color: var(--color-black);
}

/* Touch devices latch :hover onto the last tapped element until you tap
   elsewhere — that read as an active tab that never clears. Pointer only. */
@media (hover: hover) and (pointer: fine) {
	.pricing-nav__btn:hover {
		background: var(--color-white);
		border-color: rgba(25, 25, 25, 0.04);
		color: var(--color-black);
	}
}

.pricing-nav__label {
	position: relative;
	z-index: 1;
}

.pricing-nav__fill {
	position: absolute;
	inset: 0;
	width: 0%;
	border-radius: inherit;
	background: linear-gradient(270deg, rgba(34, 34, 17, 0.09) 0%, rgba(255, 255, 255, 0) 100%);
	pointer-events: none;
	z-index: -1;
}

/* ── Body layout: sticky widget + tables ── */

.pricing-block__body {
	display: grid;
	grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
	gap: clamp(24px, 3vw, 48px);
	align-items: start;
}

.pricing-block__aside {
	/* Sticky lives on the grid item itself: the inner widget can't stick
	   because this box (align-items:start + overflow:hidden) is only as tall
	   as its content. The item sticks within the tall grid row instead. */
	position: sticky;
	top: calc(var(--pt-top) + 84px);
	align-self: start;
	border-radius: 14px;
background: var(--gold-main, #EDAA24);
overflow: hidden;
}

.pricing-widget {
	position: relative;
	overflow: hidden;
}

.pricing-widget__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 297px;
	overflow: hidden;
}

/* Wrapper is transparent to layout — the img stays the flex item */
.pricing-widget__pic {
	display: contents;
}

.pricing-widget__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 100%;
	object-fit: cover;
	aspect-ratio: initial;
	position: relative;
	top: -3px;
}

.pricing-widget__body {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 24px 20px;
	position: relative;
	bottom: 8px;
	border-radius: 6px;
	background: #FFF;
	max-width: calc(100% - 16px);
	margin-left: 8px;
}

.pricing-widget__title {
	margin: 0;
	font-size: var(--fs-h5);
	font-weight: var(--fw-medium);
	line-height: var(--lh-h5);
	letter-spacing: var(--ls-h5);
	color: var(--color-black);
}

.pricing-widget__desc p {
	margin: 0;
	font-size: var(--fs-body-s);
	font-weight: var(--fw-medium);
	line-height: 1.4;
	color: var(--color-gray-500);
}

.pricing-widget__cta {
	margin-top: 4px;
}

.pricing-widget__cta .btn {
	width: 100%;
}

/* ── Tables ── */

.pricing-block__tables {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.pricing-table {
	scroll-margin-top: calc(var(--pt-top) + 96px);
	border-radius: 14px;
	border: 1px solid var(--color-gray-100);
	background: var(--color-white);
	overflow: hidden;
	padding: 8px;

border-radius: 14px;
border: 1px solid rgba(25, 25, 25, 0.08);
background: var(--white, #FFF);
}

.pricing-table__head {
border-radius: 6px;
background: var(--Off-white-100, #F7F5F2);
padding: 24px;
}

.pricing-table__heading {
	margin: 0;
	color: var(--black, #191919);
font-size: 32px;
font-style: normal;
font-weight: 500;
line-height: 120%; /* 38.4px */
letter-spacing: -0.16px;
}

.pricing-table__cols,
.pricing-table__row {
	display: grid;
	grid-template-columns: var(--pt-grid);
	gap: 16px;
	align-items: baseline;
	padding: clamp(20px, 2.2vw, 28px) clamp(20px, 2.4vw, 32px);
}
.pricing-table__row .pricing-table__cell,
.pricing-table__cols .pricing-table__col{
	text-align: right;
}
.pricing-table__row .pricing-table__cell:first-child,
.pricing-table__cols .pricing-table__col:first-child{
	text-align: left;
}
.pricing-table__cols {
	padding-top: 20px;
	padding-bottom: 12px;
}

.pricing-table__col {
font-size: 18px;
font-style: normal;
font-weight: 600;
line-height: 140%; /* 25.2px */
color: var(--black, #191919);
}

.pricing-table__row {
	border-bottom: 1px solid var(--8, rgba(25, 25, 25, 0.08));
}

.pricing-table__cell {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: var(--fs-body-s);
	font-weight: var(--fw-medium);
	color: var(--color-black);
}

.pricing-table__value {
color: var(--black, #191919);
font-size: 18px;
font-style: normal;
font-weight: 500;
line-height: 140%; /* 25.2px */
letter-spacing: -0.09px;
}

.pricing-table__note {
color: var(--black, #191919);
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: normal;
letter-spacing: -0.14px;
opacity: 0.7;
}

.pricing-table--split .pricing-table__col:not(.-service),
.pricing-table--split .pricing-table__cell:not(.-service) {
	text-align: right;
	align-items: flex-end;
}

.pricing-block__footnote {
	padding: clamp(16px, 2vw, 24px);
	border-radius: 12px;
	border: 1px solid var(--color-gray-100);
	border-radius: 14px;
border: 1px solid rgba(25, 25, 25, 0.08);
background: var(--white, #FFF);
padding: 32px;
}

.pricing-block__footnote p {
	color: var(--gray-500, #807E7C);
	margin: 0;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	letter-spacing: -0.14px;
}

@media (max-width: 900px) {
	.pricing-block__body {
		grid-template-columns: 1fr;
	}
.pricing-block__footnote{
	padding: 24px;
}
	.pricing-block__tables {
		order: 1;
	}

	.pricing-block__aside {
		order: 2;
		position: static;
		top: auto;
	}

	.pricing-widget {
		position: static;
		display: grid;
		grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
	}

	.pricing-widget__media {
		min-height: 0;
		height: 100%;
	}
}

@media (max-width: 620px) {
	.pricing-table__row .pricing-table__cell, .pricing-table__cols .pricing-table__col{
		text-align: left;
	}
	.pricing-table__head{

padding: 16px;
	}
	.pricing-table__heading{
		font-size: 24px;
font-style: normal;
font-weight: 500;
line-height: 130%; /* 31.2px */
letter-spacing: -0.12px;
	}
.pricing-widget__media{
	height: 380px;
}
.pricing-block__tables {
	gap: 16px;
}
.pricing-widget__title{
	font-size: 24px;
font-style: normal;
font-weight: 500;
line-height: 130%; /* 31.2px */
letter-spacing: -0.12px;
}
.pricing-widget__desc p{
	font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 140%;
}
	.pricing-nav {
		position: static;
		top: auto;
		margin-bottom: clamp(20px, 5vw, 32px);
	}

	.pricing-nav__track {
		flex-direction: column;
		gap: 0;
		padding: 8px;
		border-radius: 14px;
		border-radius: 14px;
		border: var(--Border-border-base, 1.2px) solid rgba(25, 25, 25, 0.04);
		background: #F1EFEC;
		overflow: visible;
		box-shadow: none;
	}

	.pricing-nav__btn {
		flex: 0 0 auto;
		width: 100%;
		min-width: 0;
		justify-content: center;
		text-align: center;
		padding: 18px 16px;
		font-size: var(--fs-body-m);
		border-radius: 12px;
	}

	.pricing-nav__btn:not(.is-active)+.pricing-nav__btn:not(.is-active) {
		border-top-color: var(--color-gray-100);
	}

	.pricing-nav__btn.is-active {
		border-radius: 8px;
		background: #fff;
		border: 1px solid rgba(25, 25, 25, 0.04);

	}

	.pricing-nav__fill {
		display: none;
	}

	.pricing-widget {
		grid-template-columns: 1fr;
	}

	.pricing-table__cols {
		display: none;
	}

	.pricing-table:not(.pricing-table--split) .pricing-table__row {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 4px 12px;
		padding: 16px 20px;
	}

	.pricing-table:not(.pricing-table--split) .pricing-table__cell.-service {
		grid-column: 1 / -1;
		margin-bottom: 10px;

	}

	.pricing-table:not(.pricing-table--split) .pricing-table__cell:not(.-service)::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 4px;
		opacity: 0.7;
		color: var(--black, #191919);
		font-size: 12px;
		font-style: normal;
		font-weight: 500;
		line-height: 16px; /* 133.333% */
	}

	.pricing-table--split .pricing-table__row {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 12px;
		padding: 14px 20px;
	}

	.pricing-table--split .pricing-table__cell.-service {
		font-weight: var(--fw-medium);
		color: var(--color-black);
	}
	.pricing-block__footnote p{
		font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: 140%;
	}
	.pricing-table__head{
		margin-bottom: 20px;
	}
	.pricing-table__rows .pricing-table__row:first-child{
		border-top: 0px solid var(--color-gray-100);
	}
	.pricing-table__value{
		font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 140%;
	}
	.pricing-table__cell{
		font-size: 16px;
font-style: normal;
font-weight: 600;
line-height: 140%;
	}
	.pricing-table--split .pricing-table__head{
		margin-bottom: 0;
	}
	.pricing-table--split .pricing-table__row{
		padding: 30px 15px;
	}
	.pricing-table--split .pricing-table__cell.-service{
		color: var(--black, #191919);
font-size: 16px;
font-style: normal;
font-weight: 600;
line-height: 140%; /* 22.4px */
	}
}