/* =====================================================================
   Section: Pricing Redesign — pixel-perfect from Figma 5192:18546
   Scope:   .spr-* (section-pricing-redesign) — isolated from .pricing-plans__*
   ===================================================================== */

.spr-section {
	--spr-1st-bg: #f6f5f4;
	--spr-2nd-bg: #ffffff;
	--spr-1st-fg: #050505;
	--spr-2nd-fg: rgba(5, 5, 5, 0.8);
	--spr-stroke: #d3d3d3;
	--spr-1st-brd: #ff4e41;
	--spr-2nd-brd: #cc6af9;
	--spr-1st-btn-bg: #050505;
	--spr-1st-btn-fg: #ffffff;
	--spr-2nd-btn-bg: #ffffff;
	--spr-2nd-btn-fg: #050505;
	--spr-3rd-btn-fg: #274ce1;
	--spr-card-shadow: 0 4px 4px rgba(0, 0, 0, 0.04);

	box-sizing: border-box;
	display: flex;
	justify-content: center;
	width: 100%;
	padding: 140px 32px 140px;
	background: var(--spr-1st-bg);
	font-family: var(--font-body);
	color: var(--spr-1st-fg);
	contain: layout paint;
	transition: background-color 600ms linear, color 600ms linear;
}

.spr-section *,
.spr-section *::before,
.spr-section *::after {
	box-sizing: border-box;
}

.spr-content {
	display: flex;
	flex: 1 0 0;
	flex-direction: column;
	align-items: center;
	gap: 80px;
	width: 100%;
	max-width: 1400px;
}

/* ===== Section headings ===== */
.spr-headings {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	width: 100%;
}

.spr-headings__text {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	width: 100%;
	max-width: 800px;
}

.spr-heading-title {
	margin: 0;
	font-size: 58px;
	font-weight: 600;
	line-height: 1.15;
	color: var(--spr-1st-fg);
	text-align: center;
	letter-spacing: 0;
}

.spr-heading-desc {
	margin: 0;
	max-width: 600px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--spr-2nd-fg);
	text-align: center;
}

/* ===== Logo carousel ===== */
.spr-logos {
	position: relative;
	width: 100%;
	height: 44px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.spr-logos__track {
	display: flex;
	align-items: center;
	gap: 52px;
	height: 100%;
	width: max-content;
	animation: spr-marquee 40s linear infinite;
}

.spr-logo {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 32px;
}

.spr-logo img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	display: block;
	object-fit: contain;
}

.spr-logo--luminosity {
	mix-blend-mode: luminosity;
}

@keyframes spr-marquee {
	from {
		transform: translateX(0);
	}

	/* track holds 2 passes — translate by half to loop seamlessly */
	to {
		transform: translateX(-50%);
	}
}

/* ===== Pricing table (utilities + cards) ===== */
.spr-pricing-table {
	display: flex;
	flex-direction: column;
	gap: 36px;
	width: 100%;
}

.spr-pricing-table__top {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

/* ----- Utilities row (toggle + estimate) ----- */
.spr-utilities {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 16px;
}

.spr-billing {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.spr-billing-select {
	display: none;
	position: relative;
}

.spr-billing-hint {
	display: none;
	margin: 0;
	padding-left: 6px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	color: var(--spr-1st-fg);
}

.spr-billing-select__trigger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 8px 16px;
	font-family: inherit;
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	color: var(--spr-2nd-btn-fg);
	background: var(--spr-2nd-btn-bg);
	border: 1px solid var(--spr-stroke);
	border-radius: 999px;
	cursor: pointer;
	white-space: nowrap;
}

.spr-billing-select__icon {
	width: 12px;
	height: 12px;
	transition: transform 160ms ease;
}

.spr-billing-select[data-open="true"] .spr-billing-select__icon {
	transform: rotate(180deg);
}

.spr-billing-select__menu {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	z-index: 5;
	margin: 0;
	padding: 4px;
	min-width: 160px;
	list-style: none;
	background: var(--spr-2nd-btn-bg);
	border: 1px solid var(--spr-stroke);
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.spr-billing-select__option {
	display: block;
	width: 100%;
	margin: 0;
	padding: 8px 12px;
	font-family: inherit;
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	color: var(--spr-2nd-btn-fg);
	background: transparent;
	border: 0;
	border-radius: 8px;
	text-align: left;
	cursor: pointer;
}

.spr-billing-select__option[aria-current="true"],
.spr-billing-select__option:hover {
	background: var(--spr-1st-bg);
}

.spr-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0;
	padding: 4px;
	background: var(--spr-2nd-bg);
	border: 1px solid var(--spr-stroke);
	border-radius: 100px;
}

/* Sliding pill — vị trí + size đo từ JS gán vào CSS vars */
.spr-toggle::before {
	content: '';
	position: absolute;
	top: 4px;
	bottom: 4px;
	left: var(--spr-pill-x, 4px);
	width: var(--spr-pill-w, 0);
	background: var(--spr-1st-btn-bg);
	border-radius: 999px;
	pointer-events: none;
	z-index: 0;
}

.spr-toggle.is-ready::before {
	transition: left 320ms cubic-bezier(0.22, 0.61, 0.36, 1), width 320ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.spr-toggle__btn {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 12px 24px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	color: var(--spr-2nd-btn-fg);
	background: transparent;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	white-space: nowrap;
	transition: color 220ms ease;
}

.spr-toggle__btn.is-active {
	color: var(--spr-1st-btn-fg);
}

.spr-estimate-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 14px 28px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	color: var(--spr-2nd-btn-fg);
	background: var(--spr-2nd-btn-bg);
	border: 1px solid var(--spr-stroke);
	border-radius: 100px;
	cursor: pointer;
	white-space: nowrap;
}

.spr-estimate-btn__icon {
	width: 12px;
	height: 12px;
	display: block;
	transition: transform 200ms ease;
}

.spr-estimate-btn[aria-expanded="true"] .spr-estimate-btn__icon {
	transform: rotate(180deg);
}

/* ----- Estimate panel ----- */
.spr-estimate-panel {
	display: flex;
	gap: 8px;
	align-items: stretch;
	width: 100%;
}

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

.spr-estimate-panel__inputs {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: 40px 24px;
	background: var(--spr-2nd-bg);
}

.spr-estimate-input {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.spr-estimate-input__label {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	color: var(--spr-1st-fg);
}

.spr-progress {
	position: relative;
	width: 100%;
	height: 36px;
	background: var(--spr-1st-bg);
	overflow: hidden;
}

.spr-progress__fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0;
	background: var(--spr-1st-brd);
	overflow: hidden;
	transition: width 100ms ease;
	pointer-events: none;
}

.spr-progress__fill::after {
	content: '';
	position: absolute;
	top: 4px;
	bottom: 4px;
	right: 4px;
	width: 2px;
	background: #ffffff;
}

.spr-progress__value {
	position: absolute;
	top: 50%;
	left: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	pointer-events: none;
	transition: left 100ms ease, color 100ms ease;
}

.spr-progress__value[data-position="inside"] {
	color: #ffffff;
	transform: translate(-100%, -50%);
	padding-right: 10px;
	/* fill p-4 (4) + white line (2) + gap-4 (4) */
}

.spr-progress__value[data-position="outside"] {
	color: var(--spr-1st-fg);
	transform: translateY(-50%);
	padding-left: 6px;
	/* track gap-6 */
}

.spr-progress__input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	opacity: 0;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.spr-progress__input::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 16px;
	height: 36px;
	background: transparent;
	cursor: pointer;
}

.spr-progress__input::-moz-range-thumb {
	width: 16px;
	height: 36px;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.spr-progress__input:focus-visible {
	outline: 2px solid var(--spr-3rd-btn-fg);
	outline-offset: 2px;
	opacity: 0.001;
}

.spr-progress__scale {
	display: flex;
	justify-content: space-between;
	width: 100%;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	color: var(--spr-2nd-fg);
}

.spr-estimate-panel__total {
	flex: 0 0 344px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 40px 24px;
	background: var(--spr-2nd-bg);
}

.spr-estimate-panel__total-label {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	color: var(--spr-1st-fg);
}

.spr-estimate-panel__total-value {
	margin: 0;
	display: flex;
	align-items: baseline;
	gap: 4px;
	white-space: nowrap;
}

.spr-estimate-panel__total-amount {
	font-size: var(--fs-h1);
	font-weight: 600;
	line-height: 1.15;
	color: var(--spr-1st-fg);
}

.spr-estimate-panel__total-suffix {
	font-size: var(--fs-label-lg);
	font-weight: 500;
	line-height: 1;
	color: var(--spr-2nd-fg);
	text-transform: uppercase;
}

/* ----- Cards row ----- */
.spr-cards {
	display: flex;
	align-items: flex-end;
	gap: 16px;
	width: 100%;
}

.spr-card {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	min-width: 0;
	background: var(--spr-2nd-bg);
	box-shadow: var(--spr-card-shadow);
}

.spr-card--featured {
	border: 2px solid transparent;
	border-image: linear-gradient(to top, transparent, #FF4E41) 1;
}

.spr-card__badge {
	width: 100%;
	padding: 8px 4px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	color: #ffffff;
	text-align: center;
	text-transform: uppercase;
	background: linear-gradient(90deg, var(--spr-1st-brd) 0%, var(--spr-2nd-brd) 50%, var(--spr-1st-fg) 100%);
}

.spr-card__header {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 40px;
	padding: 40px 24px;
	min-height: 304px;
}

.spr-card__header-content {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.spr-card__head {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.spr-card__tier {
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	color: var(--spr-1st-fg);
	text-transform: uppercase;
}

.spr-card__desc {
	margin: 0;
	max-width: 600px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--spr-2nd-fg);
}

.spr-card__price-block {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 100%;
}

.spr-card__price {
	margin: 0;
	display: flex;
	align-items: baseline;
	gap: 6px;
	font-size: 48px;
	font-weight: 600;
	line-height: 1.15;
	color: var(--spr-1st-fg);
}

.spr-card__price-monthly,
.spr-card__price-yearly {
	display: inline;
}

.spr-card__price-yearly-group {
	display: none;
	align-items: baseline;
	gap: 6px;
}

.spr-card__price-strike {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.15;
	color: rgba(5, 5, 5, 0.24);
	text-decoration: line-through;
	text-decoration-skip-ink: none;
}

.spr-section.is-yearly .spr-card__price-monthly {
	display: none;
}

.spr-section.is-yearly .spr-card__price-yearly-group {
	display: inline-flex;
}

.spr-card__billed-yearly {
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	color: var(--spr-2nd-fg);
	opacity: 0;
	/* keep space reserved */
	transition: opacity 160ms ease;
}

.spr-section.is-yearly .spr-card__billed-yearly {
	opacity: 1;
}

.spr-card__info-row {
	display: flex;
	align-items: center;
	gap: 4px;
	width: 100%;
}

.spr-card__info-row--placeholder {
	visibility: hidden;
}

.spr-section.is-estimate-open .spr-card__info-row {
	display: none;
}

.spr-card__info-icon {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	display: block;
}

.spr-card__info-text {
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	color: var(--spr-2nd-fg);
	text-decoration: underline;
	text-decoration-style: dotted;
	text-decoration-color: rgba(5, 5, 5, 0.4);
	text-underline-offset: 3px;
}

/* ----- Info-row tooltip (mirrors .vpf__tooltip) ----- */
.spr-card__info-row--tooltipped {
	position: relative;
}

.spr-card__tooltip {
	position: absolute;
	z-index: 10;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	max-width: 240px;
	width: max-content;
	padding: 12px 16px;
	background-color: #050505;
	color: #ffffff;
	border-radius: 8px;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	text-align: left;
	opacity: 0;
	pointer-events: none;
	transition: opacity 160ms ease-out 120ms;
}

/* Invisible bridge over the 8px gap so hover doesn't break when cursor moves
   from the info-row into the tooltip (e.g. to click "Learn more"). */
.spr-card__tooltip::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	height: 10px;
	bottom: -10px;
}

.spr-card__info-row--tooltipped[data-tooltip-side="bottom"] .spr-card__tooltip {
	bottom: auto;
	top: calc(100% + 8px);
}

.spr-card__info-row--tooltipped[data-tooltip-side="bottom"] .spr-card__tooltip::before {
	bottom: auto;
	top: -10px;
}

.spr-card__info-row--tooltipped[data-tooltip-align="right"] .spr-card__tooltip {
	transform: translateX(-100%);
}

.spr-card__info-row--tooltipped[data-tooltip-align="left"] .spr-card__tooltip {
	transform: translateX(0);
}

.spr-card__tooltip-link {
	color: #fff;
	text-decoration: underline;
}

.spr-card__tooltip-link:hover {
	text-decoration: none;
}

@media (hover: hover) {

	.spr-card__info-row--tooltipped:hover .spr-card__tooltip,
	.spr-card__info-row--tooltipped:focus-visible .spr-card__tooltip,
	.spr-card__info-row--tooltipped:focus-within .spr-card__tooltip {
		opacity: 1;
		pointer-events: auto;
		transition-delay: 0ms;
	}
}

.spr-card__info-row--tooltipped.is-tooltip-open .spr-card__tooltip {
	opacity: 1;
	pointer-events: auto;
	transition-delay: 0ms;
}

@media (max-width: 768px) {
	.spr-card__tooltip {
		max-width: min(240px, calc(100vw - 32px));
	}
}

/* ===== Price breakdown tooltip ===== */
.spr-card__price-block {
	position: relative;
}

.spr-card__price-monthly[data-price-trigger]:focus,
.spr-card__price-yearly[data-price-trigger]:focus {
	outline: none;
}

.spr-section.is-estimate-open .spr-card:not(.spr-card--custom) .spr-card__price-monthly[data-price-trigger],
.spr-section.is-estimate-open .spr-card:not(.spr-card--custom) .spr-card__price-yearly[data-price-trigger] {
	text-decoration: underline;
	text-decoration-style: dotted;
	text-decoration-color: var(--spr-1st-fg);
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}

.spr-card__tooltip--breakdown {
	width: 300px;
	max-width: 300px;
	padding: 12px 16px;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
}

.spr-card__price-block[data-tooltip-side="bottom"] .spr-card__tooltip--breakdown {
	bottom: auto;
	top: calc(100% + 8px);
}

.spr-card__price-block[data-tooltip-align="right"] .spr-card__tooltip--breakdown {
	transform: translateX(-100%);
}

.spr-card__price-block[data-tooltip-align="left"] .spr-card__tooltip--breakdown {
	transform: translateX(0);
}

.spr-card__tooltip-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.spr-card__tooltip-title {
	flex: 1;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
}

.spr-card__tooltip-help {
	display: inline-flex;
	width: 16px;
	height: 16px;
	color: inherit;
}

.spr-card__tooltip-help svg {
	width: 100%;
	height: 100%;
	display: block;
}

.spr-card__tooltip-body {
	border: 1px solid #4a4949;
	border-radius: 4px;
}

.spr-card__tooltip-row {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 12px;
	border-bottom: 1px solid #4a4949;
}

.spr-card__tooltip-row:last-child {
	border-bottom: none;
}

.spr-card__tooltip-row-label {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
}

.spr-card__tooltip-row-sub {
	font-size: 10px;
	font-weight: 400;
	line-height: 1.4;
}

.spr-card__tooltip-row-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	min-width: 79px;
	white-space: nowrap;
}

.spr-card__tooltip-row-value {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.spr-card__tooltip-row-billed {
	font-size: 10px;
	font-weight: 400;
	line-height: 1.4;
}

@media (hover: hover) {

	.spr-section.is-estimate-open .spr-card:not(.spr-card--custom) .spr-card__price-block:hover .spr-card__tooltip--breakdown,
	.spr-section.is-estimate-open .spr-card:not(.spr-card--custom) .spr-card__price-block:focus-within .spr-card__tooltip--breakdown {
		opacity: 1;
		pointer-events: auto;
		transition-delay: 0ms;
	}
}

.spr-section.is-estimate-open .spr-card:not(.spr-card--custom) .spr-card__price-block.is-tooltip-open .spr-card__tooltip--breakdown {
	opacity: 1;
	pointer-events: auto;
	transition-delay: 0ms;
}

@media (max-width: 768px) {
	.spr-card__tooltip--breakdown {
		width: min(240px, calc(100vw - 32px));
		max-width: min(240px, calc(100vw - 32px));
	}
}

/* ----- Card buttons ----- */
.spr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	align-self: flex-start;
	padding: 14px 28px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	border-radius: 100px;
	white-space: nowrap;
	transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.spr-btn--outline {
	color: var(--spr-2nd-btn-fg);
	background: var(--spr-2nd-btn-bg);
	border: 1px solid var(--spr-stroke);
}

.spr-btn--primary {
	color: var(--spr-1st-btn-fg);
	background: var(--spr-1st-btn-bg);
	border: 1px solid var(--spr-1st-btn-bg);
}

.spr-btn--outline:hover {
	border-color: var(--spr-1st-fg);
}

.spr-btn--primary:hover {
	background: #1a1a1a;
}

.spr-btn[hidden] {
	display: none;
}

/* Custom mode (valueTotal >= 500k from estimate) */
.spr-card__price-custom {
	color: var(--spr-1st-fg);
}

.spr-card--custom .spr-card__price-strike {
	display: none;
}

.spr-card--custom .spr-card__billed-yearly {
	visibility: hidden;
}

/* ----- Card divider ----- */
.spr-card__divider {
	width: 100%;
	height: 0;
	margin: 0;
	border: 0;
	border-top: 1px dashed var(--spr-stroke);
}

/* ----- Card info (feature list) ----- */
.spr-card__info {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 40px 24px;
	flex: 1 1 auto;
}

.spr-card__list-block {
	display: flex;
	flex-direction: column;
	gap: 20px;
	flex: 1 1 auto;
}

.spr-card__list-title {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	color: var(--spr-2nd-fg);
	text-transform: uppercase;
}

.spr-card__list-lead {
	display: inline-flex;
	align-items: flex-end;
	gap: 2px;
}

.spr-card__list-lead-icon {
	width: 10px;
	height: 10px;
	display: block;
}

.spr-card__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	min-height: 240px;
}

.spr-card__list-item {
	display: flex;
	align-items: center;
	gap: 6px;
	width: 100%;
}

.spr-bullet {
	flex: 0 0 4px;
	width: 4px;
	height: 4px;
	background: var(--spr-stroke);
	display: block;
}

.spr-card--featured .spr-bullet {
	background: linear-gradient(90deg, var(--spr-1st-brd) 0%, var(--spr-2nd-brd) 100%);
}

.spr-card__list-text {
	flex: 0 1 auto;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--spr-2nd-fg);
}

.spr-card__list-item--with-chip .spr-card__list-text {
	white-space: nowrap;
}

.spr-chip-new {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 16px;
	padding: 0 4px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	color: var(--spr-1st-brd);
	background: rgba(255, 78, 65, 0.04);
	text-transform: uppercase;
	white-space: nowrap;
}

.spr-card__seeall {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	align-self: flex-start;
	padding: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	color: var(--spr-3rd-btn-fg);
	text-transform: uppercase;
	text-decoration: none;
}

.spr-card__seeall:hover {
	text-decoration: underline;
}

.spr-card__seeall-icon {
	width: 12px;
	height: 12px;
	display: block;
	transition: filter 600ms linear;
}

/* SVG được load qua <img> nên không nhận currentColor — dùng filter để đổi sang trắng ở dark mode */
body.ses-dark .spr-card__seeall-icon {
	filter: brightness(0) invert(1);
}

/* =====================================================================
   Responsive
   ===================================================================== */

/* ≤ 1280px — slight padding shrink, keep 4 columns */
@media (max-width: 1280px) {
	.spr-section {
		padding: 64px 24px 100px;
	}

	.spr-content {
		gap: 64px;
	}

	.spr-heading-title {
		font-size: 48px;
	}

	.spr-card__price {
		font-size: 40px;
	}
}

/* ≤ 1024px — Tablet: 1 card per row, header + vertical divider + info side-by-side inside each card */
@media (max-width: 1024px) {
	.spr-cards {
		flex-direction: column;
		gap: 16px;
	}

	.spr-card {
		flex: 1 1 100%;
		width: 100%;
		flex-direction: row;
		flex-wrap: wrap;
	}

	.spr-card--featured {
		order: -1;
	}

	.spr-card__badge {
		flex: 0 0 100%;
	}

	.spr-card__header,
	.spr-card__info {
		flex: 1 1 0;
		min-width: 0;
	}

	.spr-card__header {
		min-height: 0;
	}

	.spr-card__list {
		min-height: 0;
	}

	.spr-card__divider {
		flex: 0 0 0;
		width: 0;
		height: auto;
		min-height: 100%;
		align-self: stretch;
		border-top: 0;
		border-left: 1px dashed var(--spr-stroke);
	}
}

/* ≤ 768px — Mobile: header / horizontal divider / info stacked vertically */
@media (max-width: 768px) {
	.spr-section {
		padding: 72px 20px 140px;
	}

	.spr-content {
		gap: 40px;
	}

	.spr-heading-title {
		font-size: 32px;
	}

	.spr-heading-desc {
		font-size: 16px;
	}

	.spr-logos__track {
		gap: 52px;
	}

	.spr-logo {
		height: 32px;
	}

	.spr-utilities {
		flex-direction: row;
		align-items: flex-start;
		justify-content: space-between;
		gap: 12px;
	}

	.spr-toggle {
		display: none;
	}

	.spr-toggle__btn {
		padding: 8px 16px;
		font-size: 12px;
	}

	.spr-billing-select {
		display: inline-flex;
	}

	.spr-billing-hint {
		display: block;
	}

	.spr-billing.is-yearly .spr-billing-hint {
		display: none;
	}

	.spr-estimate-btn {
		padding: 8px 16px;
		font-size: 12px;
	}

	.spr-card {
		flex-direction: column;
		flex-wrap: nowrap;
	}

	.spr-card__badge {
		flex: 0 0 auto;
	}

	.spr-card__header,
	.spr-card__info {
		flex: 0 0 auto;
		width: 100%;
		padding: 40px 24px;
		gap: 16px;
	}

	.spr-card__info {
		gap: 40px;
	}

	.spr-card__divider {
		width: 100%;
		height: 0;
		min-height: 0;
		align-self: auto;
		border-left: 0;
		border-top: 1px dashed var(--spr-stroke);
	}

	.spr-card__price {
		font-size: 48px;
	}

	/* Estimate panel: stack vertically */
	.spr-estimate-panel {
		flex-direction: column;
	}

	.spr-estimate-panel__inputs {
		padding: 24px 16px;
		gap: 20px;
	}

	.spr-estimate-panel__total {
		flex: 1 1 auto;
		width: 100%;
		padding: 24px 16px;
	}

	.spr-estimate-panel__total-amount {
		font-size: 28px;
	}
}

/* ============================================================
 * Page-wide theme switch (body.ses-dark) — cross-fade overrides
 * Triggered by section-exclusive-services IntersectionObserver.
 * ============================================================ */

/* Cross-fade theme — chỉ target element descendants thật sự (bỏ pseudo + bỏ `background` shorthand)
   để giảm paint cost khi flip body.ses-dark. Section root tự transition + contain riêng phía trên. */
.spr-section * {
	transition: background-color 600ms linear, color 600ms linear, border-color 600ms linear;
}

body.ses-dark .spr-section {
	--spr-1st-bg: #050505;
	--spr-2nd-bg: rgba(255, 255, 255, 0.06);
	--spr-1st-fg: #ffffff;
	--spr-2nd-fg: rgba(255, 255, 255, 0.8);
	--spr-stroke: rgba(255, 255, 255, 0.18);
	--spr-1st-btn-bg: #ffffff;
	--spr-1st-btn-fg: #050505;
	--spr-2nd-btn-bg: rgba(255, 255, 255, 0.12);
	--spr-2nd-btn-fg: #ffffff;
	--spr-3rd-btn-fg: #ffffff;
	--spr-card-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
}

@media (prefers-reduced-motion: reduce) {

	.spr-section,
	.spr-section *,
	.spr-section *::before,
	.spr-section *::after {
		transition: none !important;
	}
}