/**
 * Testimonials carousel — shared by the home page and Nosotros.
 * Uses the theme's current font (no imported font here).
 */
.inclusso-testimonios {
	--testimonios-title: 42px;
	margin: 90px 0;
	padding: 0 100px;
	color: rgb(115, 115, 115);
}

.inclusso-testimonios__inner {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}

.inclusso-testimonios__title {
	margin: 0;
	color: rgb(41, 18, 6);
	font-size: var(--testimonios-title);
	font-weight: 500;
	line-height: 1.2;
	text-transform: capitalize;
}

.inclusso-testimonios__quote-icon {
	display: block;
	margin: 55px auto 0;
	color: var(--inclusso-bg-color);
}

.inclusso-testimonios__carousel {
	position: relative;
	margin-top: 20px;
}

.inclusso-testimonios__viewport {
	overflow: hidden;
}

.inclusso-testimonios__track {
	display: flex;
	transition: transform 0.5s ease;
}

.inclusso-testimonio {
	flex: 0 0 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 20px;
}

.inclusso-testimonio__quote {
	margin: 0;
	padding: 0;
	border: 0;
}

.inclusso-testimonio__quote p {
	margin: 0;
	color: rgb(115, 115, 115);
	font-size: 20px;
	font-style: normal;
	line-height: 1.55;
}

.inclusso-testimonio__divider {
	display: block;
	margin: 25px auto;
	color: var(--inclusso-bg-color);
}

.inclusso-testimonio__author {
	display: inline-flex;
	align-items: center;
	gap: 18px;
	text-align: left;
}

.inclusso-testimonio__avatar {
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
}

.inclusso-testimonio__avatar--initials {
	display: grid;
	place-items: center;
	background: var(--inclusso-bg-color);
	color: #fff;
	font-size: 22px;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.inclusso-testimonio__who {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.inclusso-testimonio__name {
	color: rgb(41, 18, 6);
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
}

.inclusso-testimonio__role {
	font-size: 16px;
	line-height: 1.5;
}

/* Thin line arrows, outside the text column on desktop. */
.inclusso-testimonios__arrow {
	position: absolute;
	top: 30%;
	display: grid;
	place-items: center;
	width: 60px;
	height: 40px;
	padding: 0;
	border: 0;
	background: none;
	color: rgb(41, 18, 6);
	cursor: pointer;
	transition: color 0.2s ease;
}

.inclusso-testimonios__arrow:hover,
.inclusso-testimonios__arrow:focus-visible {
	color: var(--inclusso-bg-color);
}

.inclusso-testimonios__arrow--prev {
	left: -150px;
}

.inclusso-testimonios__arrow--next {
	right: -150px;
	transform: scaleX(-1);
}

.inclusso-testimonios__dots {
	display: flex;
	justify-content: center;
	gap: 4px;
	margin-top: 20px;
}

/* Small dot; the active one gets a ring, like the original. */
.inclusso-testimonios__dot {
	position: relative;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 50%;
	background: none;
	cursor: pointer;
}

.inclusso-testimonios__dot::after {
	content: "";
	position: absolute;
	inset: 0;
	width: 6px;
	height: 6px;
	margin: auto;
	border-radius: 50%;
	background: rgb(190, 190, 190);
}

.inclusso-testimonios__dot.is-active {
	border-color: rgb(41, 18, 6);
}

.inclusso-testimonios__dot.is-active::after {
	background: rgb(41, 18, 6);
}


/* Variant: beige background with a faint logo watermark (Nosotros). */
.inclusso-testimonios.is-beige {
	position: relative;
	margin: 0;
	padding-top: 90px;
	padding-bottom: 90px;
	overflow: hidden;
	background: rgb(249, 244, 239);
}

.inclusso-testimonios.is-beige::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../images/nosotros/sello.png") right 6% center / auto 70% no-repeat;
	opacity: 0.1;
	pointer-events: none;
}

.inclusso-testimonios.is-beige .inclusso-testimonios__inner {
	position: relative;
}

.inclusso-testimonios.is-beige .inclusso-testimonios__title {
	--testimonios-title: 32px;
	text-transform: none;
}

@media (min-width: 1731px) {

	.inclusso-testimonios {
		--testimonios-title: 50px;
	}
}

@media (max-width: 1279px) {

	.inclusso-testimonios {
		padding: 0 50px;
	}

	/* Not enough room outside the column: arrows sit on the edges. */
	.inclusso-testimonios__arrow--prev {
		left: -60px;
	}

	.inclusso-testimonios__arrow--next {
		right: -60px;
	}
}

@media (max-width: 767px) {

	.inclusso-testimonios {
		--testimonios-title: 32px;
		margin: 60px 0;
		padding: 0 25px;
	}

	.inclusso-testimonios__quote-icon {
		margin-top: 35px;
	}

	.inclusso-testimonio {
		padding: 10px 0;
	}

	.inclusso-testimonio__quote p {
		font-size: 18px;
	}

	.inclusso-testimonio__avatar {
		width: 50px;
		height: 50px;
	}

	.inclusso-testimonio__avatar--initials {
		font-size: 18px;
	}

	/* Phones: arrows under the slide, at both ends of the dots row (like the original). */
	.inclusso-testimonios__arrow {
		top: auto;
		bottom: -6px;
		width: 40px;
		height: 30px;
	}

	.inclusso-testimonios__arrow--prev {
		left: 0;
	}

	.inclusso-testimonios__arrow--next {
		right: 0;
	}

	.inclusso-testimonios.is-beige {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.inclusso-testimonios.is-beige::before {
		background-position: center;
		background-size: 80% auto;
	}
}
