/* Texto + Imagen Section - Updated: aspect-ratio 452/336 */
.texto-imagen-section {
	background-color: #FFFFFF;
	padding: 80px 0;
}

.texto-imagen-section .container-large {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 60px;
	box-sizing: border-box;
}

/* Variante 4 - Información y Documentación */
.documentation-section {
	background-color: #FFFFFF;
	padding: 80px 0;
}

.documentation-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-areas: "text image";
	gap: 60px;
	align-items: flex-start;
}

.documentation-text {
	grid-area: text;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.documentation-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 4px;
}

.documentation-icon {
	color: #0070C1;
	flex-shrink: 0;
}

.documentation-title {
	font-size: 24px;
	font-weight: 700;
	color: #1A1A1A;
	margin: 0;
	line-height: 1.3;
}

.documentation-paragraph {
	font-size: 16px;
	line-height: 1.7;
	color: #1A1A1A;
	margin: 0;
}

.documentation-link {
	color: #0070C1;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

.documentation-link:hover {
	color: #005A9C;
	text-decoration: underline;
}

.documentation-image {
	grid-area: image;
	width: 100%;
	height: 100%;
	border-radius: 12px;
	overflow: hidden;
}

.documentation-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.documentation-section.documentation-inverted .documentation-content {
	grid-template-areas: "image text";
}

.ti-grid {
	display: flex;
	flex-direction: row;
	gap: 80px;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
}

.ti-grid .ti-text {
	align-self: center;
	align-items: center;
}

.ti-text {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
	flex: 1;
	overflow-wrap: break-word;
	box-sizing: border-box;
}

.ti-image {
	max-width: 452px;
	width: 100%;
	flex-shrink: 0;
	box-sizing: border-box;
}

.ti-image img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
}

/* Orden invertido usando order */
.texto-imagen-section.texto-imagen-invertido .ti-image {
	order: 1;
}

.texto-imagen-section.texto-imagen-invertido .ti-text {
	order: 2;
}


/* Responsive */
@media (max-width: 768px) {
	.ti-grid {
		flex-direction: column !important;
		gap: 40px;
	}
	
	.texto-imagen-section.texto-imagen-invertido .ti-grid {
		flex-direction: column !important;
	}
}

/* Estilos de tipografía para .ti-text (mantener compatibilidad con .texto-imagen-text) */
.ti-text p,
.texto-imagen-text p {
	font-size: 18px;
	line-height: 1.7;
	color: #1A1A1A;
	margin: 0;
}

.ti-text strong,
.texto-imagen-text strong {
	font-weight: 700;
}

.texto-imagen-title {
	font-size: 40px;
	font-weight: 700;
	color: #1A1A1A;
	margin: 0 0 24px 0;
	line-height: 1.2;
	align-self: start;
}

/* Compatibilidad: mantener estilos para variantes que aún usan clases antiguas */
.texto-imagen-image {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
}

.texto-imagen-image img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
}


/* Responsive */
@media (max-width: 1024px) {
	.texto-imagen-section {
		padding: 60px 0;
	}

	.documentation-section {
		padding: 60px 0;
	}

	.documentation-content {
		gap: 50px;
	}

	.texto-imagen-section .texto-imagen-content {
		gap: 60px;
	}
}

@media (max-width: 768px) {
	.texto-imagen-section {
		padding: 40px 0;
	}

	.ti-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.documentation-section {
		padding: 40px 0;
	}

	.documentation-content {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.documentation-header {
		gap: 12px;
	}

	.documentation-icon {
		width: 32px;
		height: 32px;
	}

	.documentation-title {
		font-size: 22px;
	}

	.documentation-paragraph {
		font-size: 15px;
	}

	.documentation-image {
		max-height: 400px;
	}

	.ti-text p,
	.texto-imagen-text p {
		font-size: 16px;
	}
}

@media (max-width: 480px) {
	.texto-imagen-section {
		padding: 32px 0;
	}

	.ti-text p,
	.texto-imagen-text p {
		font-size: 15px;
		line-height: 1.6;
	}

	.ti-text,
	.texto-imagen-text {
		gap: 20px;
	}

	.documentation-section {
		padding: 32px 0;
	}

	.documentation-text {
		gap: 16px;
	}

	.documentation-icon {
		width: 28px;
		height: 28px;
	}

	.documentation-title {
		font-size: 20px;
	}

	.documentation-paragraph {
		font-size: 14px;
		line-height: 1.6;
	}

	.documentation-image {
		max-height: 300px;
	}
}

/* Variante 2 - Canal Ético */
.texto-imagen-variante-2 .texto-imagen-content {
	grid-template-columns: 1fr 450px;
	gap: 60px;
	align-items: flex-start;
	width: 100%;
	overflow: hidden;
}

.texto-imagen-variante-2-title {
	font-size: 40px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 40px 0;
	line-height: 1.2;
}

.texto-imagen-variante-2 .texto-imagen-text {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
	overflow-wrap: break-word;
}

.texto-imagen-variante-2 .texto-imagen-text p {
	font-size: 16px;
	line-height: 1.7;
	color: #1a1a1a;
	margin: 0;
}

.texto-imagen-variante-2 .texto-imagen-text p:last-child {
	margin-bottom: 0;
}

.texto-imagen-variante-2-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	background-color: #0070c1;
	color: #f0f8ff;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	width: fit-content;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.texto-imagen-variante-2-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.texto-imagen-variante-2-button svg {
	flex-shrink: 0;
}

.texto-imagen-variante-2 .texto-imagen-image {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	width: 100%;
	max-width: 100%;
	height: 100%;
	position: relative;
}

.texto-imagen-variante-2 .texto-imagen-image img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
	display: block;
}

/* Responsive Variante 2 */
@media (max-width: 1024px) {
	.texto-imagen-variante-2 .texto-imagen-content {
		grid-template-columns: 1fr 400px;
		gap: 50px;
	}

	.texto-imagen-variante-2-title {
		font-size: 36px;
		margin-bottom: 32px;
	}
}

@media (max-width: 768px) {
	.texto-imagen-variante-2 .texto-imagen-content {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.texto-imagen-variante-2-title {
		font-size: 32px;
		margin-bottom: 24px;
	}

	.texto-imagen-variante-2 .texto-imagen-text p {
		font-size: 15px;
	}

	.texto-imagen-variante-2-button {
		font-size: 15px;
		padding: 12px 24px;
	}
}

@media (max-width: 480px) {
	.texto-imagen-variante-2-title {
		font-size: 28px;
		margin-bottom: 20px;
	}

	.texto-imagen-variante-2 .texto-imagen-text {
		gap: 16px;
	}

	.texto-imagen-variante-2 .texto-imagen-text p {
		font-size: 14px;
		line-height: 1.6;
	}

	.texto-imagen-variante-2-button {
		font-size: 14px;
		padding: 12px 20px;
	}
}

/* Variante 3 - Con items e iconos */
.texto-imagen-variante-3 .texto-imagen-content {
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
	width: 100%;
	overflow: hidden;
}

.texto-imagen-variante-3 .texto-imagen-text {
	display: flex;
	flex-direction: column;
	gap: 32px;
	min-width: 0;
	overflow-wrap: break-word;
}

.texto-imagen-variante-3 .texto-imagen-text p {
	font-size: 16px;
	line-height: 1.7;
	color: #1A1A1A;
	margin: 0;
}

.texto-imagen-variante-3-items {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-self: flex-start;

}

.texto-imagen-variante-3-item {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 16px;
	font-weight: 500;
}

.texto-imagen-variante-3-icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.texto-imagen-variante-3-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.texto-imagen-variante-3-link {
	color: #0070C1;
	text-decoration: none;
	transition: color 0.3s ease;
}

.texto-imagen-variante-3-link:hover {
	color: #005A9C;
}

.texto-imagen-variante-3-text {
	color: #1A1A1A;
}

.texto-imagen-variante-3 .texto-imagen-image {
	border-radius: 12px;
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	height: 100%;
	position: relative;
}

.texto-imagen-variante-3 .texto-imagen-image img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
	display: block;
}

/* Responsive Variante 3 */
@media (max-width: 1024px) {
	.texto-imagen-variante-3 .texto-imagen-content {
		gap: 50px;
	}
	
	.texto-imagen-variante-3 .texto-imagen-text {
		gap: 24px;
	}
}

@media (max-width: 768px) {
	.texto-imagen-variante-3 .texto-imagen-content {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	
	.texto-imagen-variante-3 .texto-imagen-text p {
		font-size: 15px;
	}
	
	.texto-imagen-variante-3-item {
		font-size: 15px;
	}
}

@media (max-width: 480px) {
	.texto-imagen-variante-3 .texto-imagen-text {
		gap: 20px;
	}
	
	.texto-imagen-variante-3 .texto-imagen-text p {
		font-size: 14px;
		line-height: 1.6;
	}
	
	.texto-imagen-variante-3-items {
		gap: 16px;
	}
	
	.texto-imagen-variante-3-item {
		font-size: 14px;
		gap: 10px;
	}
	
	.texto-imagen-variante-3-icon {
		width: 20px;
		height: 20px;
	}
}

