/* ============================================================
   Santa Fruta · Home widgets (Hero + Franja de Beneficios)
   ============================================================ */

.sf-strip, .sf-strip *,
.sf-hero, .sf-hero *,
.sf-ben-grid, .sf-ben-grid * {
	box-sizing: border-box;
}

/* --- Franja de beneficios --- */
.sf-strip {
	border-bottom: 1px solid #E3E1DC;
	background: #F6F5F2;
	width: 100%;
}
.sf-strip-inner {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax(220px, 1fr) );
	padding: 0 32px;
}
.sf-strip-cell {
	padding: 26px 22px;
	border-right: 1px solid #E3E1DC;
	display: flex;
	gap: 14px;
	align-items: center;
}
.sf-strip-cell:first-child {
	padding-left: 0;
}
.sf-strip-cell:last-child {
	border-right: 0;
	padding-right: 0;
}
.sf-strip-cell svg {
	flex: none;
}
.sf-strip-t {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #0A0A0A;
}
@media (max-width: 860px) {
	.sf-strip-inner {
		grid-template-columns: repeat(2, 1fr);
	}
	.sf-strip-cell {
		border-right: 0;
		border-bottom: 1px solid #E3E1DC;
		padding-left: 0 !important;
	}
	.sf-strip-cell:nth-child(odd) {
		border-right: 1px solid #E3E1DC;
	}
}
@media (max-width: 560px) {
	.sf-strip-inner {
		grid-template-columns: 1fr;
	}
	.sf-strip-cell {
		border-right: 0 !important;
		padding: 20px 0 !important;
	}
}

/* --- Hero --- */
.sf-hero {
	position: relative;
	min-height: 88vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 120px 32px 110px;
	overflow: hidden;
}
.sf-hero-slides,
.sf-hero-scrim {
	position: absolute;
	inset: 0;
}
.sf-hero-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 1.1s ease;
}
.sf-hero-slide.is-on {
	opacity: 1;
}
.sf-hero-scrim {
	background: linear-gradient(100deg, rgba(10, 10, 10, .86) 0%, rgba(10, 10, 10, .62) 46%, rgba(10, 10, 10, .28) 100%);
}
.sf-hero-inner {
	position: relative;
	width: 100%;
	max-width: 1360px;
	margin: 0 auto;
	color: #fff;
	text-align: left;
}
.sf-hero-eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	font-size: 11px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: #7AB929;
	font-weight: 600;
}
@media (max-width: 560px) {
	.sf-hero-eyebrow {
		letter-spacing: .12em;
	}
}
.sf-hero-rule {
	width: 44px;
	height: 2px;
	background: #7AB929;
	display: block;
	flex: none;
}
.sf-hero h1 {
	font-weight: 200;
	font-size: clamp(44px, 8vw, 110px);
	line-height: .96;
	letter-spacing: -.028em;
	margin: 22px 0 0;
	max-width: 15ch;
}
.sf-hero h1 em {
	font-style: normal;
	font-weight: 500;
	color: #7AB929;
}
.sf-hero-lead {
	max-width: 52ch;
	margin: 26px 0 0;
	font-size: clamp(15px, 1.4vw, 19px);
	line-height: 1.65;
	color: rgba(255, 255, 255, .88);
}
.sf-hero-btn-row {
	margin-top: 38px;
}
.sf-hero-btn {
	display: inline-block;
	background: #7AB929 !important;
	color: #fff !important;
	padding: 16px 30px !important;
	font-size: 13px;
	letter-spacing: .08em;
	text-transform: uppercase;
	font-weight: 600;
	text-decoration: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	transition: background-color .25s ease;
}
.sf-hero-btn:hover {
	background: #0A0A0A !important;
	color: #fff !important;
}
.sf-hero-dots {
	position: absolute;
	left: 32px;
	bottom: 48px;
	display: flex;
	gap: 10px;
	z-index: 2;
}
.sf-hero-dots button {
	width: 38px !important;
	height: 3px !important;
	border-radius: 0 !important;
	background: rgba(255, 255, 255, .38) !important;
	border: 0 !important;
	padding: 0 !important;
	cursor: pointer;
	transition: background-color .3s ease;
}
.sf-hero-dots button.is-on {
	background: #7AB929 !important;
}
@media (max-width: 860px) {
	.sf-hero {
		padding: 90px 20px 96px;
		min-height: 88vh;
	}
	.sf-hero-dots {
		left: 20px;
		bottom: 36px;
	}
}
@media (max-width: 560px) {
	.sf-hero {
		padding: 80px 18px 84px;
	}
}

/* --- Tarjetas Flip ("Por qué Santa Fruta") --- */
.sf-ben-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 300px;
	gap: 12px;
}
.sf-flip {
	perspective: 1600px;
	cursor: pointer;
	outline: none;
}
.sf-flip-in {
	position: relative;
	width: 100%;
	height: 100%;
	transition: transform .7s cubic-bezier(.2, .8, .2, 1);
	transform-style: preserve-3d;
}
.sf-flip:hover .sf-flip-in,
.sf-flip:focus .sf-flip-in,
.sf-flip.is-flipped .sf-flip-in {
	transform: rotateY(180deg);
}
.sf-face {
	position: absolute;
	inset: 0;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	padding: 28px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.sf-face-back {
	transform: rotateY(180deg);
	justify-content: center;
}
.sf-face-photo {
	background-size: cover;
	background-position: center;
	justify-content: flex-end;
	color: #fff !important;
}
.sf-face-photo .sf-face-t {
	text-shadow: 0 2px 8px rgba(0, 0, 0, .55), 0 1px 2px rgba(0, 0, 0, .5);
}
.sf-face-t {
	margin: 0;
	font-weight: 600;
	font-size: 19px;
	line-height: 1.14;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.sf-face-p {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.62;
	font-weight: 300;
}
.sf-face svg {
	flex: none;
}
@media (max-width: 1000px) {
	.sf-ben-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 270px;
	}
}
@media (max-width: 560px) {
	.sf-ben-grid {
		grid-template-columns: 1fr;
		grid-auto-rows: 250px;
	}
}

/* --- Carrusel de clientes ("Confían en nosotros") --- */
.sf-clientes, .sf-clientes * {
	box-sizing: border-box;
}
.sf-clientes {
	padding: 64px 0 44px;
	background: #fff;
	overflow: hidden;
}
.sf-clientes-head {
	text-align: center;
	margin-bottom: 30px;
}
.sf-clientes-eyebrow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	font-size: 11px;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: #6E6B65;
	font-weight: 600;
}
.sf-clientes-rule {
	width: 34px;
	height: 2px;
	background: #E5007E;
	display: block;
	flex: none;
}
.sf-marquee {
	position: relative;
	width: 100%;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.sf-marquee-track {
	display: flex;
	width: max-content;
	gap: 20px;
	animation-name: sfMarquee;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}
.sf-marquee:hover .sf-marquee-track {
	animation-play-state: paused;
}
.sf-marquee-logo {
	flex: none;
	width: 210px;
	height: 120px;
	background: #fff;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 22px;
	box-shadow: 0 2px 14px rgba(10, 10, 10, .06);
}
.sf-marquee-logo img {
	max-width: 100% !important;
	max-height: 100% !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain;
	transition: transform .3s;
}
.sf-marquee-logo:hover img {
	transform: scale(1.05);
}
@keyframes sfMarquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
@media (max-width: 560px) {
	.sf-marquee-logo {
		width: 150px;
		height: 80px;
		padding: 12px;
	}
}

/* --- Testimonios (prueba social) --- */
.sf-testimonios, .sf-testimonios * {
	box-sizing: border-box;
}
.sf-testimonios {
	--sf-t-cols: 3;
	--sf-t-gap: 20px;
	--sf-t-card-w: 340px;
	padding: 64px 24px;
	background: #F6F5F2;
}
.sf-testimonios-inner {
	max-width: 1180px;
	margin: 0 auto;
}
.sf-testimonio {
	position: relative;
	margin: 0;
	padding: 34px 28px 26px;
	background: #fff;
	border: 1px solid #E3E1DC;
	border-radius: 14px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 2px 14px rgba(10, 10, 10, .05);
	font-style: normal;
}
.sf-testimonio-mark {
	position: absolute;
	top: 6px;
	left: 22px;
	font-size: 64px;
	line-height: 1;
	font-weight: 700;
	color: #7AB929;
}
.sf-testimonio-cita {
	margin: 18px 0 22px;
	padding: 0;
	border: 0;
	font-size: 15px;
	line-height: 1.65;
	color: #0A0A0A;
	font-style: normal;
	flex: 1;
}
.sf-testimonio-autor {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-top: 16px;
	border-top: 1px solid #E3E1DC;
	font-size: 13px;
	color: #6E6B65;
	font-style: normal;
}
.sf-testimonio-autor strong {
	color: #0A0A0A;
	font-weight: 700;
	font-style: normal;
}
.sf-testimonio-autor span {
	font-style: normal;
}

/* Grid */
.sf-testimonios-grid {
	display: grid;
	grid-template-columns: repeat(var(--sf-t-cols), minmax(0, 1fr));
	gap: var(--sf-t-gap);
}

/* Masonry */
.sf-t--masonry .sf-testimonios-grid {
	display: block;
	column-count: var(--sf-t-cols);
	column-gap: var(--sf-t-gap);
}
.sf-t--masonry .sf-testimonio {
	break-inside: avoid;
	margin-bottom: var(--sf-t-gap);
}

/* Carrusel y destacado */
.sf-t-carousel {
	position: relative;
}
.sf-t-track {
	display: flex;
	gap: var(--sf-t-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 8px 4px 22px;
}
.sf-t-track::-webkit-scrollbar {
	display: none;
}
.sf-t-track .sf-testimonio {
	flex: 0 0 calc((100% - var(--sf-t-gap) * (var(--sf-t-cols) - 1)) / var(--sf-t-cols));
	scroll-snap-align: start;
}
.sf-t-arrow {
	position: absolute;
	top: calc(50% - 30px);
	z-index: 2;
	width: 42px !important;
	height: 42px !important;
	min-width: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #0A0A0A !important;
	color: #fff !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
	transition: transform .2s, background-color .2s;
}
.sf-t-arrow:hover {
	transform: scale(1.08);
}
.sf-t-prev { left: -14px; }
.sf-t-next { right: -14px; }
.sf-t-dots {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}
.sf-t-dot {
	width: 9px !important;
	height: 9px !important;
	min-width: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #CFCCC5 !important;
	cursor: pointer;
	transition: background-color .2s, transform .2s;
}
.sf-t-dot.is-on {
	background: #0A0A0A !important;
	transform: scale(1.25);
}

/* Destacado: una cita grande centrada */
.sf-t--destacado .sf-testimonios-inner {
	max-width: 860px;
}
.sf-t--destacado .sf-t-track .sf-testimonio {
	flex: 0 0 100%;
	align-items: center;
	text-align: center;
	padding: 52px 40px 34px;
}
.sf-t--destacado .sf-testimonio-mark {
	position: static;
	display: block;
	height: 44px;
	font-size: 84px;
}
.sf-t--destacado .sf-testimonio-cita {
	font-size: 22px;
	line-height: 1.55;
	margin: 10px 0 26px;
}
.sf-t--destacado .sf-testimonio-autor {
	align-items: center;
	width: 100%;
	max-width: 280px;
}

/* Cinta continua */
.sf-t-marquee {
	position: relative;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.sf-t-marquee-track {
	display: flex;
	width: max-content;
	gap: var(--sf-t-gap);
	padding: 8px 0 22px;
	animation: sfTMarquee linear infinite;
}
.sf-t--pausa .sf-t-marquee:hover .sf-t-marquee-track {
	animation-play-state: paused;
}
.sf-t-marquee-track .sf-testimonio {
	flex: none;
	width: var(--sf-t-card-w);
}
@keyframes sfTMarquee {
	from { transform: translateX(0); }
	to { transform: translateX(calc(-50% - var(--sf-t-gap) / 2)); }
}
@media (prefers-reduced-motion: reduce) {
	.sf-t-marquee-track { animation: none; }
}

@media (max-width: 1000px) {
	.sf-testimonios { --sf-t-cols: 2; --sf-t-card-w: 300px; }
	.sf-t-prev { left: 4px; }
	.sf-t-next { right: 4px; }
}
@media (max-width: 560px) {
	.sf-testimonios { --sf-t-cols: 1; --sf-t-gap: 14px; --sf-t-card-w: 260px; padding: 44px 16px; }
	.sf-t--destacado .sf-t-track .sf-testimonio { padding: 40px 22px 26px; }
	.sf-t--destacado .sf-testimonio-cita { font-size: 18px; }
}
