.jl-testimonials {
	width: 100vw;
	max-width: 100vw;
	margin-top: -35px;
	margin-right: calc(50% - 50vw);
	margin-bottom: 0;
	margin-left: calc(50% - 50vw);
	padding: clamp(54px, 6vw, 96px) clamp(16px, 3vw, 42px);
	color: #241f1b;
	background: #fffaf4;
	overflow: hidden;
}

.jl-testimonials__inner {
	width: min(100%, 1760px);
	margin: 0 auto;
}

.jl-testimonials__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: clamp(24px, 4vw, 64px);
	margin-bottom: clamp(28px, 3.8vw, 58px);
}

.jl-testimonials__heading {
	max-width: 720px;
}

.jl-testimonials__eyebrow {
	margin: 0 0 14px;
	color: #b29247;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.16em;
}

.jl-testimonials__title {
	margin: 0;
	color: #261f1b;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(34px, 4.2vw, 66px);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: 0;
}

.jl-testimonials__subtitle {
	max-width: 610px;
	margin: 18px 0 0;
	color: rgba(36, 31, 27, 0.68);
	font-size: clamp(16px, 1.3vw, 20px);
	line-height: 1.55;
	letter-spacing: 0;
}

.jl-testimonials__link {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	flex: 0 0 auto;
	width: min(100%, 230px);
	min-height: 58px;
	padding: 0 22px;
	border: 1px solid rgba(178, 146, 71, 0.72);
	color: #9b7c39;
	background: rgba(255, 255, 255, 0.58);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	letter-spacing: 0;
	transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.jl-testimonials__link:hover,
.jl-testimonials__link:focus {
	border-color: #9b7c39;
	color: #7d632e;
	background: #fff;
	text-decoration: none;
}

.jl-testimonials__link:focus-visible {
	outline: 2px solid #b29247;
	outline-offset: 4px;
}

.jl-testimonials__carousel {
	--jl-testimonials-gap: clamp(14px, 1.5vw, 24px);
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	/* Scroll-snap: cada tarjeta encaja al hacer swipe */
	scroll-snap-type: x mandatory;
	scroll-padding: 0;
}

.jl-testimonials__carousel::-webkit-scrollbar {
	display: none;
}

.jl-testimonials__track {
	display: flex;
	align-items: stretch;
	gap: var(--jl-testimonials-gap);
	width: 100%;
}

.jl-testimonial-card {
	display: flex;
	flex-direction: column;
	flex: 0 0 calc((100% - (var(--jl-testimonials-gap) * 3)) / 4);
	min-width: 0;
	min-height: 100%;
	padding: clamp(20px, 2vw, 30px);
	border: 1px solid rgba(178, 146, 71, 0.22);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.82);
	box-shadow: 0 18px 42px rgba(55, 43, 31, 0.07);
	/* Snap en móvil */
	scroll-snap-align: start;
}

.jl-testimonial-card__top {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 22px;
}

.jl-testimonial-card__avatar {
	display: block;
	flex: 0 0 74px;
	width: 74px;
	height: 74px;
	border: 2px solid #fff;
	border-radius: 50%;
	background-color: #eadfcd;
	background-image: var(--jl-testimonials-portraits);
	background-repeat: no-repeat;
	background-size: 205% 205%;
	box-shadow: 0 8px 22px rgba(43, 35, 29, 0.14);
}

.jl-testimonial-card--sheet-men .jl-testimonial-card__avatar {
	background-image: var(--jl-testimonials-men-portraits);
	background-size: 205% 100%;
}

.jl-testimonial-card--portrait-1 .jl-testimonial-card__avatar {
	background-position: 0 0;
}

.jl-testimonial-card--portrait-2 .jl-testimonial-card__avatar {
	background-position: 100% 0;
}

.jl-testimonial-card--portrait-3 .jl-testimonial-card__avatar {
	background-position: 0 100%;
}

.jl-testimonial-card--portrait-4 .jl-testimonial-card__avatar {
	background-position: 100% 100%;
}

.jl-testimonial-card__identity {
	display: block;
	min-width: 0;
}

.jl-testimonial-card__name {
	display: block;
	color: #261f1b;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
}

.jl-testimonial-card__context {
	display: block;
	margin-top: 4px;
	color: rgba(36, 31, 27, 0.58);
	font-size: 14px;
	line-height: 1.25;
	letter-spacing: 0;
}

.jl-testimonial-card__stars {
	margin: 0 0 16px;
	color: #b29247;
	font-size: 17px;
	line-height: 1;
	letter-spacing: 0.08em;
}

.jl-testimonial-card__quote {
	flex: 1 1 auto;
	margin: 0;
	color: rgba(36, 31, 27, 0.78);
	font-size: clamp(15px, 1.08vw, 18px);
	line-height: 1.62;
	letter-spacing: 0;
}

.jl-testimonial-card__product {
	margin: 24px 0 0;
	padding-top: 18px;
	border-top: 1px solid rgba(178, 146, 71, 0.18);
	color: #9b7c39;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

@media (max-width: 1180px) {
	.jl-testimonial-card {
		flex-basis: calc((100% - var(--jl-testimonials-gap)) / 2);
	}
}

@media (max-width: 760px) {
	.jl-testimonials {
		margin-top: -20px;
		padding: 44px 16px 52px;
	}

	.jl-testimonials__header {
		display: block;
		margin-bottom: 28px;
	}

	.jl-testimonials__title {
		font-size: clamp(32px, 10vw, 48px);
	}

	.jl-testimonials__link {
		width: min(100%, 260px);
		margin-top: 24px;
	}

	.jl-testimonial-card {
		flex-basis: 100%;
		padding: 22px;
	}
}

@media (max-width: 420px) {
	.jl-testimonial-card__avatar {
		flex-basis: 64px;
		width: 64px;
		height: 64px;
	}

	.jl-testimonial-card__top {
		gap: 12px;
	}
}

/* Peek visual: muestra el borde de la siguiente tarjeta en móvil */
@media (max-width: 760px) {
	.jl-testimonials__carousel {
		padding-right: 28px; /* sugiere que hay más contenido */
	}
}

/* Sin scroll-snap si el usuario prefiere movimiento reducido */
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
	.jl-testimonials__carousel {
		scroll-snap-type: none;
		padding-right: 0;
	}
}
